Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008536/0.0008536, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000907/0.000907, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9104/0.9104, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.583e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001605/0.001631, allocations: 0.8545 MB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.002935, allocations: 1.202 MB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.003, allocations: 4 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.003037, allocations: 7.875 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.003114, allocations: 11.88 kB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.003617, allocations: 154.5 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.003833, allocations: 171.6 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.003965, allocations: 21.3 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004106, allocations: 95.84 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.0042, allocations: 51.84 kB / 0.9531 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.004229, allocations: 19.94 kB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.004303, allocations: 31.94 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.004343, allocations: 31.89 kB / 0.9532 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.00443, allocations: 47.89 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.004663, allocations: 187.4 kB / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004665, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.543e-06/0.004667, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.004672, allocations: 4 kB / 0.9534 GB, free: 0.5273 MB / 0.9011 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.0006284/0.005301, allocations: 410.1 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.005353, allocations: 8.031 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.005387, allocations: 46.73 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.005454, allocations: 20.83 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.005822, allocations: 193.6 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.005837, allocations: 4.375 kB / 0.954 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.005869, allocations: 16.36 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.006032, allocations: 90.2 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.006039, allocations: 192 / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006051, allocations: 8.359 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006058, allocations: 7.938 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.006152, allocations: 43.95 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.006717, allocations: 335.6 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.402e-05/0.006801, allocations: 34.5 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.006851, allocations: 28.95 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.006872, allocations: 4 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.00709, allocations: 99.31 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 2.555e-06/0.007092, allocations: 4 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.000312/0.007404, allocations: 133.5 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.007445, allocations: 55.34 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.00755, allocations: 143.3 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.007576, allocations: 37.7 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.007646, allocations: 112.1 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.00767, allocations: 27.75 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.007994, allocations: 49.69 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.008081, allocations: 322.8 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.008212, allocations: 89.59 kB / 0.9556 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.008361, allocations: 156.7 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.008577, allocations: 204.6 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.00858, allocations: 4 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003285/0.008909, allocations: 272.7 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.008945, allocations: 40.72 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.008952, allocations: 4.375 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.008968, allocations: 8 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.009039, allocations: 27.92 kB / 0.9563 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.009046, allocations: 7.938 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.009164, allocations: 43.84 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.00918, allocations: 8 kB / 0.9563 GB, free: 13.16 MB / 0.9167 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 0.0001034/0.009284, allocations: 137 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.009296, allocations: 7.953 kB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.009333, allocations: 20.77 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009336, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.009342, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009346, allocations: 0 / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.009743, allocations: 361.5 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009745, allocations: 4 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.009796, allocations: 15.92 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009799, allocations: 0 / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.009808, allocations: 4 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.009812, allocations: 7.938 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009813, allocations: 0 / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.01006, allocations: 243.3 kB / 0.9571 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.01008, allocations: 11.95 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.01009, allocations: 0 / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.01014, allocations: 15.97 kB / 0.9571 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.01018, allocations: 11.92 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01018, allocations: 8 kB / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.01024, allocations: 109 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000222/0.01046, allocations: 35.89 kB / 0.9573 GB, free: 12.12 MB / 0.9167 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.0004809/0.01094, allocations: 0.775 MB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.01123, allocations: 205.1 kB / 0.9582 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01123, allocations: 0 / 0.9582 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.01129, allocations: 31.97 kB / 0.9583 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.01153, allocations: 26.16 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.01332, allocations: 2.062 MB / 0.9603 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.279e-05/0.01339, allocations: 93.81 kB / 0.9604 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.01344, allocations: 24.41 kB / 0.9604 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.01349, allocations: 40.48 kB / 0.9605 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.01349, allocations: 0 / 0.9605 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.03451, allocations: 3.973 MB / 0.9643 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.757, allocations: 5.906 kB / 0.9644 GB, free: 4.82 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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: 10.84766677673906]