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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 107.9 kB / 17.54 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 193.9 kB / 20.71 MB, free: 1.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> 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 0.001803/0.001803, allocations: 71.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8073, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001835/0.8092, allocations: 0.9008 MB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.8104, allocations: 1.187 MB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.8105, allocations: 5.469 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.8105, allocations: 13.33 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.8106, allocations: 16.08 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.8111, allocations: 150.2 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.8113, allocations: 164.5 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.8114, allocations: 30.22 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.8115, allocations: 69.59 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.8116, allocations: 68.7 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.8117, allocations: 15.5 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.8117, allocations: 34.86 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.8118, allocations: 26.67 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.8118, allocations: 65.69 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.812, allocations: 165.2 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.812, allocations: 0.9688 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.812, allocations: 3.938 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.812, allocations: 0 / 1.274 GB, free: 5.895 MB / 0.9981 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.0005685/0.8126, allocations: 458.5 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.8126, allocations: 13.91 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.8127, allocations: 40.59 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.8127, allocations: 17.97 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.8132, allocations: 249.2 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.8132, allocations: 9.625 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.8132, allocations: 17.55 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.8134, allocations: 94 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.8134, allocations: 0 / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8134, allocations: 4.969 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8135, allocations: 6.375 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.8136, allocations: 45.42 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.8142, allocations: 384.7 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.8143, allocations: 38.91 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.8144, allocations: 25.27 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.8144, allocations: 2.484 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.8146, allocations: 100.2 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.8146, allocations: 0 / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004176/0.8151, allocations: 136 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.8151, allocations: 57.5 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.8152, allocations: 145.8 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8152, allocations: 32.33 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.8153, allocations: 111.5 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.8153, allocations: 34.06 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.8154, allocations: 46.89 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.8154, allocations: 324.8 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.8155, allocations: 49.59 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.8157, allocations: 131.9 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.816, allocations: 207.6 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.816, allocations: 0.7812 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004483/0.8164, allocations: 242.2 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.8165, allocations: 41.3 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8165, allocations: 3.719 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.8165, allocations: 8.062 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.8166, allocations: 30.44 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.8166, allocations: 3.75 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8168, allocations: 39.45 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.8169, allocations: 13.06 kB / 1.277 GB, free: 3.438 MB / 0.9981 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 7.484e-05/0.8169, allocations: 141.6 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.8169, allocations: 9.531 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.817, allocations: 12.17 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.817, allocations: 5.594 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.817, allocations: 0 / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.817, allocations: 1.312 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.8174, allocations: 397.6 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8174, allocations: 0 / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.8175, allocations: 21.3 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8175, allocations: 5.469 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.8175, allocations: 5.891 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8176, allocations: 1.156 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8176, allocations: 2.484 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.8179, allocations: 248.1 kB / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.8179, allocations: 89.38 kB / 1.278 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.818, allocations: 4.844 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.818, allocations: 8.047 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.8181, allocations: 5.641 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.8181, allocations: 8.281 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.8182, allocations: 102.9 kB / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8182, allocations: 0 / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002761/0.8184, allocations: 40.23 kB / 1.278 GB, free: 2.555 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0005772/0.819, allocations: 0.7815 MB / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.8194, allocations: 172.5 kB / 1.279 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8194, allocations: 1.25 kB / 1.279 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.8195, allocations: 31.7 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.8198, allocations: 18.25 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.8219, allocations: 1.983 MB / 1.281 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.8222, allocations: 0.705 MB / 1.282 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.8222, allocations: 15 kB / 1.282 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.8223, allocations: 36.58 kB / 1.282 GB, free: 15.38 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8223, allocations: 0 / 1.282 GB, free: 15.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.8481, allocations: 3.158 MB / 1.285 GB, free: 14.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/7.78, allocations: 0.9375 kB / 1.285 GB, free: 14.88 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/jenkins1/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: 13.103429431000222]