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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001057/0.001056, allocations: 86.72 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.001243/0.001243, 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005233, allocations: 14.7 kB / 0.9022 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4244, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001269/0.4257, allocations: 0.5743 MB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.4269, allocations: 0.8858 MB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.4271, allocations: 3.938 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.4271, allocations: 7.922 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.4272, allocations: 3.938 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.4274, allocations: 47.95 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.4277, allocations: 119.7 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.4279, allocations: 53.36 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.428, allocations: 31.84 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.4281, allocations: 51.7 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.4281, allocations: 4 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.4281, allocations: 4 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.4282, allocations: 19.91 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.4282, allocations: 49.58 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.4284, allocations: 99.75 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4284, allocations: 0 / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4284, allocations: 0 / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4284, allocations: 0 / 1.06 GB, free: 3.359 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.0006749/0.4291, allocations: 427.3 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4291, allocations: 8.031 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.4292, allocations: 15.81 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.4295, allocations: 202.8 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4295, allocations: 15.95 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.4296, allocations: 12 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.43, allocations: 146.1 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.43, allocations: 4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.4301, allocations: 8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4301, allocations: 4 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.4304, allocations: 135.9 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.4314, allocations: 0.5039 MB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.4317, allocations: 94.55 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4318, allocations: 44.83 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.4319, allocations: 4 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.4319, allocations: 34.75 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.4319, allocations: 7.875 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0005206/0.4325, allocations: 173.4 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4325, allocations: 55.34 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4327, allocations: 187.5 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4328, allocations: 33.7 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.4329, allocations: 119.9 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.4329, allocations: 31.55 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.4329, allocations: 0 / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4331, allocations: 326.8 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4332, allocations: 39.97 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.4334, allocations: 57.22 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.4335, allocations: 51.94 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4336, allocations: 3.938 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003297/0.4339, allocations: 159.2 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4339, allocations: 4 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4339, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.434, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.4342, allocations: 31.92 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4342, allocations: 3.984 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4343, allocations: 27.83 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4343, allocations: 4 kB / 1.063 GB, free: 216 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.4344, allocations: 125.8 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.4345, allocations: 15.81 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.4349, allocations: 147.1 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4349, allocations: 4 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4349, allocations: 0 / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4349, allocations: 7.969 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.4355, allocations: 461.3 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4355, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4356, allocations: 27.98 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.4356, allocations: 3.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4357, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4357, allocations: 7.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4357, allocations: 4.094 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.436, allocations: 261.7 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4361, allocations: 96.86 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4361, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.4363, allocations: 19.98 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4363, allocations: 11.98 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4363, allocations: 4 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001296/0.4365, allocations: 149.1 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4365, allocations: 0 / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002536/0.4367, allocations: 24 kB / 1.064 GB, free: 14.73 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 (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.0001717/0.4369, allocations: 103.2 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.4373, allocations: 111.9 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4373, allocations: 0 / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4374, allocations: 51.91 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4378, allocations: 16.19 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.4384, allocations: 276.6 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4388, allocations: 0.7087 MB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.262e-05/0.4388, allocations: 13.08 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.4389, allocations: 15.44 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/0.4389, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.00378/0.4427, allocations: 0.9997 MB / 1.066 GB, free: 12.39 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