Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001598, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.671/2.671, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9285, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002208/0.9308, allocations: 0.7241 MB / 0.9498 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.9317, allocations: 0.803 MB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.9317, allocations: 1.25 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.9318, allocations: 3.938 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.9319, allocations: 0 / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.932, allocations: 6.75 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.9321, allocations: 25.48 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.9322, allocations: 2.75 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.9323, allocations: 14.72 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.9323, allocations: 14.69 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.9324, allocations: 2.75 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.9324, allocations: 1.375 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.9324, allocations: 5.359 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.9324, allocations: 9.312 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.529e-05/0.9325, allocations: 20.03 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9325, allocations: 1.375 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9325, allocations: 0 / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9326, allocations: 0 / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003962/0.933, allocations: 343.2 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.933, allocations: 9.625 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.933, allocations: 0.9375 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.9331, allocations: 171 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.9331, allocations: 384 / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.9332, allocations: 5.734 kB / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.9333, allocations: 45.25 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.9333, allocations: 192 / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9334, allocations: 5.312 kB / 0.9513 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.9334, allocations: 4 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.9335, allocations: 35.2 kB / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.9338, allocations: 245.2 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.934, allocations: 42.84 kB / 0.9516 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.934, allocations: 26.47 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.9341, allocations: 7.922 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.9341, allocations: 31.94 kB / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9341, allocations: 0 / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003469/0.9345, allocations: 81.36 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.9345, allocations: 59.38 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/0.9346, allocations: 103.3 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.9346, allocations: 25.7 kB / 0.9519 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.9346, allocations: 81.52 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.9346, allocations: 9.219 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.9347, allocations: 15.09 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.9347, allocations: 312.2 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.9348, allocations: 25.59 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.9349, allocations: 16.17 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.935, allocations: 36.08 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.935, allocations: 4 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.9352, allocations: 76.97 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.9352, allocations: 5.5 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9353, allocations: 0 / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9353, allocations: 0 / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.9354, allocations: 10.86 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.9354, allocations: 0 / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.9354, allocations: 12.11 kB / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.9355, allocations: 192 / 0.9525 GB, free: 5.965 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.9355, allocations: 116.6 kB / 0.9526 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.9355, allocations: 3.906 kB / 0.9526 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.9358, allocations: 74.83 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9358, allocations: 1.375 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9358, allocations: 0 / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.9358, allocations: 0 / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.9359, allocations: 165.6 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9359, allocations: 1.688 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.936, allocations: 9.125 kB / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.936, allocations: 0 / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.936, allocations: 5.234 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.936, allocations: 0 / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.936, allocations: 1.281 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.9362, allocations: 162.3 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.9363, allocations: 82.45 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9363, allocations: 0 / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.9364, allocations: 3.906 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.9364, allocations: 5.016 kB / 0.9531 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.9364, allocations: 1.531 kB / 0.9531 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.9365, allocations: 82.34 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9365, allocations: 0 / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002072/0.9367, allocations: 3.875 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.9369, allocations: 109.8 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.9371, allocations: 37.11 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9371, allocations: 0 / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.9372, allocations: 19.45 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.9375, allocations: 11.03 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.9378, allocations: 108.1 kB / 0.9534 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.938, allocations: 0.6806 MB / 0.9541 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.938, allocations: 5.531 kB / 0.9541 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.938, allocations: 9.156 kB / 0.9541 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9381, allocations: 0 / 0.9541 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.00257/0.9406, allocations: 390.9 kB / 0.9545 GB, free: 4.074 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches