Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 190.9 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 99.73 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.837e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8251/1.114, allocations: 149.2 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/1.114, allocations: 77.02 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004145/1.119, allocations: 1.613 MB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/1.119, allocations: 0 / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.081e-05/1.119, allocations: 0 / 1.36 GB, free: 33.19 MB / 0.8386 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.0004793/1.119, allocations: 430.5 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.119, allocations: 7.906 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/1.119, allocations: 11.75 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.119, allocations: 207.4 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/1.119, allocations: 11.78 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.119, allocations: 7.375 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001903/1.12, allocations: 95.08 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/1.12, allocations: 111.5 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.12, allocations: 0 / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.12, allocations: 0 / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.12, allocations: 3.875 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/1.121, allocations: 489.9 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.121, allocations: 61.92 kB / 1.361 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/1.121, allocations: 30.45 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/1.121, allocations: 3.812 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/1.121, allocations: 34.89 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.121, allocations: 5.969 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002049/1.121, allocations: 84.69 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/1.121, allocations: 55.31 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/1.121, allocations: 132.9 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.121, allocations: 26.88 kB / 1.361 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/1.121, allocations: 119 kB / 1.361 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.121, allocations: 37.67 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-06/1.121, allocations: 0 / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/1.121, allocations: 321.1 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/1.121, allocations: 29.81 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/1.122, allocations: 26.62 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/1.122, allocations: 29.44 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.122, allocations: 0 / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002124/1.122, allocations: 116.1 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.122, allocations: 4.938 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.122, allocations: 1.406 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.122, allocations: 0 / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/1.122, allocations: 27.78 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/1.122, allocations: 4.656 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/1.122, allocations: 17.33 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.122, allocations: 4.609 kB / 1.362 GB, free: 31.48 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/1.122, allocations: 108.9 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/1.122, allocations: 7.969 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/1.122, allocations: 119 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/1.122, allocations: 7.938 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.122, allocations: 0 / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.122, allocations: 0.7031 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/1.123, allocations: 386.6 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.123, allocations: 0.9844 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.123, allocations: 23.31 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.123, allocations: 4.094 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/1.123, allocations: 4.594 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.123, allocations: 0 / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.123, allocations: 3.938 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/1.123, allocations: 242.1 kB / 1.363 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/1.123, allocations: 98.08 kB / 1.363 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/1.123, allocations: 4.75 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.123, allocations: 20.14 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/1.123, allocations: 9.469 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.123, allocations: 9.344 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.661e-05/1.123, allocations: 104.3 kB / 1.363 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.123, allocations: 0 / 1.363 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002269/1.124, allocations: 23.31 kB / 1.363 GB, free: 30.6 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/1.124, allocations: 96.3 kB / 1.363 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.124, allocations: 71.38 kB / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.124, allocations: 0 / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/1.124, allocations: 38.55 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/1.124, allocations: 10.62 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/1.125, allocations: 158.6 kB / 1.364 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.125, allocations: 0.722 MB / 1.364 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.453e-05/1.125, allocations: 8.375 kB / 1.364 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/1.125, allocations: 25.47 kB / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.125, allocations: 0 / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.002606/1.127, allocations: 0.7632 MB / 1.365 GB, free: 29.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches