Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001346/0.001346, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001379/0.001379, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9318/0.9318, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.939/1.939, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.793e-05, allocations: 6.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00136/0.001378, allocations: 0.839 MB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002528, allocations: 1.202 MB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.002587, allocations: 0 / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.002616, allocations: 7.875 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.002689, allocations: 23.73 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.003089, allocations: 150.5 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.00326, allocations: 171.6 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.003373, allocations: 37.22 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.003491, allocations: 95.84 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.003575, allocations: 55.84 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.0036, allocations: 16 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.714e-05/0.003657, allocations: 27.94 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.003683, allocations: 19.92 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.00374, allocations: 55.88 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.003928, allocations: 187.5 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003929, allocations: 0 / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.00393, allocations: 0 / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003934, allocations: 0 / 1.004 GB, free: 10.56 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005322/0.004466, allocations: 414.1 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.004505, allocations: 13.34 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.004538, allocations: 50.67 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.004579, allocations: 16.83 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.0049, allocations: 181.7 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004914, allocations: 12.38 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.004941, allocations: 12.38 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.005091, allocations: 94.2 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005099, allocations: 192 / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.00511, allocations: 4.359 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.005116, allocations: 3.938 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.005211, allocations: 51.89 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.005716, allocations: 335.7 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.005795, allocations: 34.5 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.005845, allocations: 32.95 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.00586, allocations: 0 / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.006021, allocations: 91.36 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.006022, allocations: 0 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002734/0.006296, allocations: 133.8 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.006329, allocations: 59.44 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.006418, allocations: 151.6 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.00644, allocations: 33.7 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.006495, allocations: 108.1 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.006514, allocations: 31.73 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.006571, allocations: 49.69 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.006651, allocations: 326.8 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.00676, allocations: 81.66 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.006886, allocations: 156.8 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.007077, allocations: 208.6 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007079, allocations: 0 / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003016/0.007381, allocations: 268.7 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.007408, allocations: 36.11 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.007416, allocations: 11.98 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.007428, allocations: 4 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.007487, allocations: 23.92 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.007494, allocations: 4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.007613, allocations: 47.84 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.00763, allocations: 15.92 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.369e-05/0.007714, allocations: 129.7 kB / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.007726, allocations: 19.98 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.007756, allocations: 12.77 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.00776, allocations: 4 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.007765, allocations: 4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.00777, allocations: 0 / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.008137, allocations: 365.4 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008139, allocations: 0 / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.008186, allocations: 15.98 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008188, allocations: 4 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.008198, allocations: 0 / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.0082, allocations: 3.938 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008201, allocations: 0 / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.008447, allocations: 247.4 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.008457, allocations: 7.906 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.008471, allocations: 4 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.008518, allocations: 11.97 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.00856, allocations: 15.98 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.008566, allocations: 0 / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.008615, allocations: 110 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008616, allocations: 0 / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002008/0.008816, allocations: 31.94 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004954/0.009312, allocations: 0.7918 MB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.009567, allocations: 196.9 kB / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009568, allocations: 0 / 1.008 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.009634, allocations: 35.91 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.009844, allocations: 24.67 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.01156, allocations: 2.062 MB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.449e-05/0.01163, allocations: 97.86 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.01168, allocations: 16.64 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.01174, allocations: 48.36 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01174, allocations: 0 / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07914/0.09088, allocations: 3.962 MB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.709, allocations: 12.34 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.431709398515522]