Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, 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.001477/0.001477, allocations: 193.6 kB / 16.26 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.398 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.57/2.57, allocations: 390.2 MB / 0.6643 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 67.91 kB / 0.812 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9414/0.943, allocations: 140.4 MB / 0.9491 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002549/0.9456, allocations: 0.9427 MB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.9469, allocations: 0.8839 MB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.9471, allocations: 11.28 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.978e-05/0.9471, allocations: 7.922 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.9473, allocations: 3.938 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.9475, allocations: 53.41 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.9478, allocations: 141.6 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.948, allocations: 60.05 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.9481, allocations: 47.75 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.9482, allocations: 63.8 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.9482, allocations: 12.56 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-05/0.9483, allocations: 13.16 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.9483, allocations: 28.83 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.9484, allocations: 65.97 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.9486, allocations: 135.7 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.9486, allocations: 0 / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.168e-06/0.9486, allocations: 3.938 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.9486, allocations: 0 / 0.9515 GB, free: 7.262 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007309/0.9494, allocations: 442.2 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.9494, allocations: 13.95 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.9495, allocations: 20.72 kB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.9497, allocations: 204.8 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.9498, allocations: 13.58 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.9498, allocations: 13.06 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.9502, allocations: 144.8 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9502, allocations: 192 / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.9502, allocations: 17.47 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.9503, allocations: 2.688 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.9506, allocations: 133.2 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.9514, allocations: 491.9 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.9516, allocations: 84.36 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.9517, allocations: 50.58 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.9518, allocations: 5.438 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.9518, allocations: 32.12 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.9518, allocations: 1.531 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004928/0.9523, allocations: 161 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.9524, allocations: 60.81 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.9526, allocations: 187.8 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9526, allocations: 27.33 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.9527, allocations: 121.2 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.9527, allocations: 27.75 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.9528, allocations: 30.11 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.9529, allocations: 326 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.953, allocations: 42.22 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.9532, allocations: 42.62 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.9534, allocations: 91.33 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9534, allocations: 0 / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003346/0.9538, allocations: 150.1 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.9538, allocations: 4.906 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9538, allocations: 9.094 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.9538, allocations: 1.188 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.954, allocations: 22.89 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.954, allocations: 1.312 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.9542, allocations: 26.33 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.9542, allocations: 2.719 kB / 0.9544 GB, free: 4.809 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 (13): * Single equations (assignments): 13 * 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 0.0001002/0.9543, allocations: 130.2 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.9543, allocations: 15.03 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.9547, allocations: 148.6 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9547, allocations: 1.219 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9547, allocations: 0 / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.9548, allocations: 1.188 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.9553, allocations: 457 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9554, allocations: 0.9688 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9555, allocations: 25.2 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9555, allocations: 1.438 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.9555, allocations: 1.406 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9555, allocations: 2.344 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.9555, allocations: 1.125 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.9558, allocations: 245.9 kB / 0.9554 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.9559, allocations: 90.08 kB / 0.9555 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.9559, allocations: 5.359 kB / 0.9555 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.9561, allocations: 22.11 kB / 0.9555 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.9561, allocations: 11.97 kB / 0.9555 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.9561, allocations: 2.812 kB / 0.9555 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001176/0.9563, allocations: 148 kB / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9563, allocations: 0 / 0.9556 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002723/0.9566, allocations: 26.84 kB / 0.9557 GB, free: 3.676 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001904/0.9567, allocations: 107.6 kB / 0.9558 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.9571, allocations: 110.1 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9571, allocations: 0 / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.9572, allocations: 50.25 kB / 0.9559 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.9577, allocations: 11.91 kB / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.9583, allocations: 284.4 kB / 0.9562 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.9585, allocations: 0.7165 MB / 0.9569 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.9586, allocations: 17.58 kB / 0.9569 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.9586, allocations: 15.47 kB / 0.9569 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.9586, allocations: 0 / 0.9569 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.00451/0.9632, allocations: 1.109 MB / 0.958 GB, free: 1.973 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches