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.0007987/0.0007987, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008196/0.0008196, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.778/1.778, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.603e-06/1.603e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.648e-05, allocations: 6.219 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001299/0.001325, allocations: 0.8388 MB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.002221, allocations: 0.9179 MB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.002288, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.002324, allocations: 15.8 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.002388, allocations: 7.875 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.002561, allocations: 67.84 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.002718, allocations: 135.7 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.002855, allocations: 49.66 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.002937, allocations: 75.86 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.002999, allocations: 47.8 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.003026, allocations: 12 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.003041, allocations: 12 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.003066, allocations: 31.91 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.003099, allocations: 35.91 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003244, allocations: 155.4 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003246, allocations: 0 / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003247, allocations: 0 / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003251, allocations: 0 / 1.003 GB, free: 10.53 MB / 0.9636 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.0004373/0.003688, allocations: 373.8 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.003723, allocations: 8.75 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.003761, allocations: 16.84 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.003954, allocations: 153.6 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.003966, allocations: 12.38 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.003982, allocations: 12.38 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.004229, allocations: 223.3 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004237, allocations: 4.125 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.004254, allocations: 20.34 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.00426, allocations: 4.375 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.004437, allocations: 123.9 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.004913, allocations: 392 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.005039, allocations: 78.47 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.005107, allocations: 40.84 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.005126, allocations: 7.984 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.005147, allocations: 30.56 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.005148, allocations: 4 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002888/0.005437, allocations: 165.5 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.005463, allocations: 51.41 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.005554, allocations: 143.4 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.005569, allocations: 29.7 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.005623, allocations: 119.9 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005643, allocations: 43.61 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.00568, allocations: 29.72 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.005751, allocations: 326.8 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.00582, allocations: 35.97 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.005891, allocations: 50.34 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.006028, allocations: 92.81 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006029, allocations: 0 / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001779/0.006207, allocations: 133.6 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.006219, allocations: 7.938 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006224, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006236, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.006331, allocations: 39.91 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006336, allocations: 0 / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.006377, allocations: 11.95 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.006384, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 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 6.502e-05/0.006449, allocations: 121.8 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.006468, allocations: 11.94 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.006664, allocations: 138.3 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006666, allocations: 3.938 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.00667, allocations: 4 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006673, allocations: 0 / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.007002, allocations: 384.5 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007004, allocations: 4 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.007058, allocations: 23.97 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.00706, allocations: 0 / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.007068, allocations: 4 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.00707, allocations: 0.6406 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007072, allocations: 7.984 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.007254, allocations: 241.8 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.007267, allocations: 19.95 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007279, allocations: 7.938 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.007347, allocations: 11.98 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.00738, allocations: 7.984 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.007387, allocations: 8 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.007433, allocations: 117 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007433, allocations: 0 / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001624/0.007595, allocations: 27.89 kB / 1.007 GB, free: 6.402 MB / 0.9636 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 8.834e-05/0.007683, allocations: 99.25 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.007859, allocations: 95 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007862, allocations: 4 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.00793, allocations: 48.09 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.008133, allocations: 21.72 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.008476, allocations: 266.6 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.008535, allocations: 98.27 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.008574, allocations: 20.5 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.008574, allocations: 4 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of Templates: time 0.002129/0.0107, allocations: 1.444 MB / 1.009 GB, free: 4.246 MB / 0.9636 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: 6.474847113713622]