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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.941/2.941, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 1 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.596e-05, allocations: 2.281 kB / 1 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.003926/0.003962, allocations: 0.8331 MB / 1.001 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.006599, allocations: 0.9288 MB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.006767, allocations: 3.938 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.11e-05/0.006858, allocations: 11.86 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.007009, allocations: 11.88 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.007431, allocations: 63.84 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.007901, allocations: 135.7 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.008225, allocations: 45.64 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.008464, allocations: 75.81 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.008616, allocations: 43.86 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.008691, allocations: 12 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.356e-05/0.008734, allocations: 16 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.008804, allocations: 35.83 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.637e-05/0.008901, allocations: 35.92 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.00929, allocations: 147.5 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.009296, allocations: 0 / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/0.009299, allocations: 0 / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.009318, allocations: 0 / 1.003 GB, free: 4.758 MB / 0.9512 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.001249/0.01057, allocations: 373.8 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/0.01064, allocations: 16.03 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.55e-05/0.01074, allocations: 12.84 kB / 1.003 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.01129, allocations: 157.5 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01131, allocations: 12.38 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.01136, allocations: 12.38 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.01208, allocations: 231.2 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.0121, allocations: 192 / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.01213, allocations: 8.375 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.01214, allocations: 8.375 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.01267, allocations: 131.8 kB / 1.003 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01404, allocations: 384.1 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.01444, allocations: 78.55 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.01471, allocations: 52.77 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.01474, allocations: 192 / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.0148, allocations: 38.5 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.0148, allocations: 0 / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0008627/0.01567, allocations: 157.4 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.01574, allocations: 55.41 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.01598, allocations: 144 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.01603, allocations: 25.7 kB / 1.004 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.01618, allocations: 139.8 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.01623, allocations: 31.7 kB / 1.005 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.01633, allocations: 25.7 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002626/0.01659, allocations: 322.8 kB / 1.005 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.01681, allocations: 39.98 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.017, allocations: 41.72 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.01742, allocations: 92.81 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01742, allocations: 0 / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006108/0.01803, allocations: 151.9 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.01806, allocations: 7.938 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.01807, allocations: 0 / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/0.01811, allocations: 0 / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.01839, allocations: 23.98 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.01841, allocations: 0 / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.01857, allocations: 19.94 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01859, allocations: 4 kB / 1.005 GB, free: 1.828 MB / 0.9512 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.0001907/0.01878, allocations: 129.8 kB / 1.005 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.01885, allocations: 7.953 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.01951, allocations: 138.7 kB / 1.005 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01952, allocations: 0 / 1.005 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.01953, allocations: 0 / 1.005 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01953, allocations: 0 / 1.005 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.0206, allocations: 388.6 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.02061, allocations: 7.938 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.02081, allocations: 23.92 kB / 1.006 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.02081, allocations: 0 / 1.006 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.02084, allocations: 4 kB / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02084, allocations: 0 / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.02084, allocations: 0 / 1.006 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.02149, allocations: 241.9 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.02152, allocations: 12.05 kB / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.02155, allocations: 3.984 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.02177, allocations: 15.98 kB / 1.006 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.02184, allocations: 7.984 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.02186, allocations: 7.938 kB / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001422/0.022, allocations: 113.3 kB / 1.006 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.022, allocations: 0 / 1.006 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004644/0.02247, allocations: 27.89 kB / 1.006 GB, free: 0.6406 MB / 0.9512 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.0002236/0.02269, allocations: 103.2 kB / 1.006 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.02319, allocations: 95.88 kB / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.0232, allocations: 4 kB / 1.006 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.02344, allocations: 43.91 kB / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.02399, allocations: 15.94 kB / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009196/0.0249, allocations: 245.1 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.0251, allocations: 90.28 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.672e-05/0.02519, allocations: 16.47 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.02526, allocations: 12.5 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.02526, allocations: 0 / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.006434/0.0317, allocations: 0.9881 MB / 1.008 GB, free: 14.98 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.528160452842712]