Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001597/0.001597, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.815/2.815, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004324, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8626, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001218/0.8638, allocations: 0.5681 MB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.8652, allocations: 0.878 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.8654, allocations: 11.88 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.8655, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.8656, allocations: 3.938 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.8658, allocations: 51.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.866, allocations: 123.7 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.8662, allocations: 41.45 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.8663, allocations: 39.84 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.761e-05/0.8664, allocations: 47.7 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.8664, allocations: 8 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.8664, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.8665, allocations: 23.91 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.8665, allocations: 37.64 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.8667, allocations: 99.77 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8667, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8667, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.8667, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 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.000606/0.8673, allocations: 425 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8674, allocations: 15.97 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.8674, allocations: 15.81 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.8677, allocations: 210.7 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.8677, allocations: 8 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.8677, allocations: 15.95 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.8681, allocations: 149.6 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8681, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.8681, allocations: 4 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.8682, allocations: 11.97 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.8685, allocations: 135.9 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.8694, allocations: 0.5039 MB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.8696, allocations: 86.53 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.8697, allocations: 48.84 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.8697, allocations: 192 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.8698, allocations: 50.48 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.8698, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004958/0.8703, allocations: 177.6 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.8703, allocations: 51.41 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.8706, allocations: 195.5 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.8706, allocations: 29.7 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.8707, allocations: 111.9 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.8708, allocations: 27.56 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.8708, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8709, allocations: 330.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.871, allocations: 47.98 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.8711, allocations: 43.97 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.8713, allocations: 51.98 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8713, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003065/0.8716, allocations: 157.3 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8716, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.8716, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8717, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.8718, allocations: 31.98 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8718, allocations: 7.922 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.8719, allocations: 19.84 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.872, allocations: 0 / 1.027 GB, free: 10.94 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.8721, allocations: 121.8 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.8721, allocations: 15.77 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.8725, allocations: 158.9 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8725, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8725, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8725, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.8731, allocations: 472.8 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.8731, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.8732, allocations: 24.08 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8732, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.8732, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.8732, allocations: 3.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8732, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.8736, allocations: 261.9 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.8737, allocations: 93 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.8737, allocations: 4 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.8738, allocations: 23.98 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.8739, allocations: 7.984 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.8739, allocations: 4 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001084/0.874, allocations: 140.1 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.874, allocations: 0 / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002498/0.8743, allocations: 20 kB / 1.028 GB, free: 9.488 MB / 0.7794 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 (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.0001615/0.8745, allocations: 111.2 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.8748, allocations: 107.4 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8748, allocations: 4 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.8749, allocations: 56.09 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.8753, allocations: 21.86 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.8758, allocations: 284.5 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.8761, allocations: 0.7048 MB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.8762, allocations: 17.08 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.8762, allocations: 15.44 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.8762, allocations: 0 / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of Templates: time 0.003889/0.8801, allocations: 0.9875 MB / 1.031 GB, free: 7.129 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches