Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001114/0.001115, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009628/0.009628, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.243/3.243, allocations: 462.6 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003802, allocations: 12.33 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4191, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002345/0.4215, allocations: 0.6012 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.4246, allocations: 0.8975 MB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.4249, allocations: 4 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.564e-05/0.425, allocations: 7.875 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.4252, allocations: 3.938 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.4256, allocations: 59.92 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.426, allocations: 131.7 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.4264, allocations: 53.45 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4265, allocations: 43.77 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.4267, allocations: 47.7 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.4267, allocations: 4 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.4268, allocations: 4 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.4268, allocations: 19.92 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.427, allocations: 73.38 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4272, allocations: 131.5 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4273, allocations: 0 / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.671e-06/0.4273, allocations: 0 / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4273, allocations: 3.938 kB / 1.061 GB, free: 3.406 MB / 0.8106 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.0009862/0.4283, allocations: 423.4 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.4284, allocations: 12.02 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.4285, allocations: 16.75 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.4289, allocations: 208.1 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4289, allocations: 12.31 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.429, allocations: 16.36 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.4296, allocations: 146.2 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4296, allocations: 4.188 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4297, allocations: 7.938 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4297, allocations: 4 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.4303, allocations: 139.9 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.4316, allocations: 0.4922 MB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.432, allocations: 102.4 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.4323, allocations: 48.83 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.4324, allocations: 7.984 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.4324, allocations: 30.56 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.4324, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0009201/0.4334, allocations: 177.8 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.4334, allocations: 51.5 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.4338, allocations: 203.4 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.4339, allocations: 29.7 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.434, allocations: 119.9 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.4341, allocations: 31.47 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.4341, allocations: 21.7 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4343, allocations: 326.8 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.4345, allocations: 39.97 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4348, allocations: 51.92 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.4352, allocations: 100.8 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4352, allocations: 4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005925/0.4358, allocations: 160.5 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4359, allocations: 4 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4359, allocations: 4 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4359, allocations: 4 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.4362, allocations: 31.92 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4362, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4364, allocations: 27.83 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.4365, allocations: 0 / 1.064 GB, free: 172 kB / 0.8106 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.0001577/0.4366, allocations: 125.8 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.4367, allocations: 11.81 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.4374, allocations: 155 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4374, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4374, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4374, allocations: 7.984 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4386, allocations: 460.9 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4386, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.4388, allocations: 23.97 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.587e-06/0.4389, allocations: 8.094 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4389, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.4389, allocations: 7.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4389, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.4395, allocations: 257.8 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4397, allocations: 100.9 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4397, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.44, allocations: 27.97 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.4401, allocations: 19.86 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4401, allocations: 4 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002156/0.4404, allocations: 141.2 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.51e-07/0.4404, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004366/0.4408, allocations: 24 kB / 1.065 GB, free: 14.69 MB / 0.8262 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.0002273/0.4411, allocations: 103.2 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00058/0.4417, allocations: 107.9 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4417, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.4419, allocations: 56.09 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.4426, allocations: 21.2 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.4435, allocations: 284.6 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.444, allocations: 0.7125 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.4441, allocations: 17.08 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.4442, allocations: 15.44 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.4442, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.006321/0.4505, allocations: 1.028 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches