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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001312/0.001312, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 68.12 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7721, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002525/0.7747, allocations: 0.9611 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.7758, allocations: 0.8857 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-05/0.7759, allocations: 7.938 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.776, allocations: 7.922 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.7761, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.7763, allocations: 59.94 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.7765, allocations: 139.7 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.7767, allocations: 53.47 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.7768, allocations: 55.78 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.7769, allocations: 59.73 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.7769, allocations: 16 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.7769, allocations: 15.94 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.777, allocations: 27.91 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.777, allocations: 59.67 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.7772, allocations: 131.5 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7772, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7772, allocations: 4 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7772, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 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.0006853/0.7779, allocations: 449 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.778, allocations: 8.031 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.778, allocations: 16.75 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.7783, allocations: 210.8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.7783, allocations: 8.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.7783, allocations: 16.38 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.7787, allocations: 150.1 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7787, allocations: 192 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.7787, allocations: 7.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.7787, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.779, allocations: 127.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.7798, allocations: 492 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.78, allocations: 94.36 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.7801, allocations: 44.83 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.7802, allocations: 8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7802, allocations: 34.56 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.7802, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000468/0.7807, allocations: 157.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.7807, allocations: 55.34 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.7809, allocations: 195.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.781, allocations: 33.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.7811, allocations: 115.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.7811, allocations: 31.55 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.7812, allocations: 21.72 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7813, allocations: 330.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.7814, allocations: 43.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.7815, allocations: 35.97 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.7818, allocations: 100.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7818, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002992/0.7821, allocations: 150.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7821, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7821, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7821, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.7823, allocations: 23.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7823, allocations: 7.938 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7824, allocations: 23.77 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7824, allocations: 0 / 1.022 GB, free: 13.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.559e-05/0.7825, allocations: 125.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.7826, allocations: 15.8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.7829, allocations: 143.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.7829, allocations: 4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.783, allocations: 0 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.783, allocations: 96 / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.7836, allocations: 456.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7836, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7837, allocations: 28.02 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.7837, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7837, allocations: 8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7837, allocations: 3.984 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7837, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.7841, allocations: 249.9 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.7841, allocations: 89 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.7842, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.7843, allocations: 11.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.7844, allocations: 15.86 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7844, allocations: 8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001062/0.7845, allocations: 152 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7845, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002428/0.7848, allocations: 31.84 kB / 1.023 GB, free: 11.77 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 (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.0001815/0.7849, allocations: 99.25 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.7853, allocations: 107.9 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7853, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.7854, allocations: 51.91 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.7859, allocations: 16 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.7865, allocations: 277.7 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.7868, allocations: 0.7123 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.124e-05/0.7869, allocations: 13.08 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.7869, allocations: 19.44 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7869, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.003803/0.7907, allocations: 1.096 MB / 1.026 GB, free: 9.328 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