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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001393/0.001394, allocations: 195 kB / 16.14 MB, free: 6.711 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.559/2.559, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.9319, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002384/0.9344, allocations: 0.7239 MB / 0.9496 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.9354, allocations: 0.8032 MB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.9354, allocations: 1.281 kB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.9355, allocations: 3.938 kB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.9356, allocations: 0 / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.9357, allocations: 6.375 kB / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.9358, allocations: 21.11 kB / 0.9505 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.9359, allocations: 12.31 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.936, allocations: 9.922 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.936, allocations: 15.28 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.936, allocations: 1.312 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.9361, allocations: 1.344 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.9361, allocations: 3.938 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.9361, allocations: 6.594 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.9362, allocations: 19.62 kB / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9362, allocations: 0 / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9362, allocations: 3.938 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.9362, allocations: 5.125 kB / 0.9505 GB, free: 7.895 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.0004602/0.9367, allocations: 338.8 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9367, allocations: 9 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.9368, allocations: 1.719 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.9369, allocations: 170.4 kB / 0.951 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.9369, allocations: 384 / 0.951 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.9369, allocations: 5.719 kB / 0.951 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.9371, allocations: 53.39 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9371, allocations: 1.531 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.9371, allocations: 3.938 kB / 0.9511 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9371, allocations: 0 / 0.9511 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.9373, allocations: 31.47 kB / 0.9511 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.9376, allocations: 248.4 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.9378, allocations: 47.53 kB / 0.9514 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.9379, allocations: 21.88 kB / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.9379, allocations: 5.312 kB / 0.9514 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.9379, allocations: 30.56 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9379, allocations: 1.719 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.9383, allocations: 82.95 kB / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.9383, allocations: 52.88 kB / 0.9516 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.9384, allocations: 102.4 kB / 0.9517 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.9384, allocations: 25.7 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.9384, allocations: 89.47 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.9385, allocations: 9.156 kB / 0.9518 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.9385, allocations: 12.19 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.9386, allocations: 324.1 kB / 0.9521 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.9387, allocations: 13.33 kB / 0.9521 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.9387, allocations: 16.48 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.9389, allocations: 40.59 kB / 0.9522 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9389, allocations: 4.062 kB / 0.9522 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.9391, allocations: 63.55 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9391, allocations: 5.5 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.9391, allocations: 0 / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.9391, allocations: 9.297 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.9392, allocations: 5.5 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9392, allocations: 1.375 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.9393, allocations: 6.734 kB / 0.9523 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.9393, allocations: 5.406 kB / 0.9523 GB, free: 6.074 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.218e-05/0.9394, allocations: 115.2 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.9394, allocations: 5.281 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.9396, allocations: 66.78 kB / 0.9525 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9397, allocations: 4.125 kB / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9397, allocations: 0 / 0.9525 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.9397, allocations: 13.38 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.9398, allocations: 157.7 kB / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9398, allocations: 0 / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.9399, allocations: 14.8 kB / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.9399, allocations: 0 / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.9399, allocations: 0 / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9399, allocations: 1.375 kB / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9399, allocations: 0 / 0.9527 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.9401, allocations: 170.8 kB / 0.9528 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.9401, allocations: 78.48 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.9402, allocations: 0 / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.9402, allocations: 8.109 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.9403, allocations: 1.375 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.9403, allocations: 1.375 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.9403, allocations: 82.03 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9403, allocations: 4.031 kB / 0.953 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002116/0.9406, allocations: 4.125 kB / 0.953 GB, free: 5.336 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.0001436/0.9407, allocations: 101.1 kB / 0.9531 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9409, allocations: 37.62 kB / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9409, allocations: 0 / 0.9531 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.941, allocations: 24.16 kB / 0.9531 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.9413, allocations: 10.97 kB / 0.9532 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.9416, allocations: 102.2 kB / 0.9533 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.9417, allocations: 0.6777 MB / 0.9539 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.9418, allocations: 5.422 kB / 0.9539 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.9418, allocations: 7.438 kB / 0.9539 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.9418, allocations: 1.25 kB / 0.9539 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002444/0.9443, allocations: 376.5 kB / 0.9543 GB, free: 4.191 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