Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00143/0.00143, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001378/0.001378, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.513/1.513, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.829/2.829, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.89 kB / 1.059 GB, free: 316 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4231, allocations: 160.7 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002438/0.4255, allocations: 0.9083 MB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.4274, allocations: 1.188 MB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.4275, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.55e-05/0.4275, allocations: 11.86 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.4276, allocations: 15.81 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.4282, allocations: 151.5 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.4285, allocations: 167.7 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.4287, allocations: 33.09 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.4288, allocations: 63.83 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.429, allocations: 71.72 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.429, allocations: 12 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.4291, allocations: 31.98 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.4291, allocations: 23.92 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4293, allocations: 63.7 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.4295, allocations: 167.3 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4295, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4295, allocations: 4 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.4295, allocations: 4 kB / 1.219 GB, free: 12.36 MB / 0.9669 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.0008327/0.4304, allocations: 466.3 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4304, allocations: 8.031 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.4305, allocations: 16.84 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.431, allocations: 248.3 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4311, allocations: 12.38 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.4311, allocations: 12.38 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.4314, allocations: 90.14 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4314, allocations: 3.938 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.4314, allocations: 7.984 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4314, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.4316, allocations: 39.95 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.4324, allocations: 392.5 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.4325, allocations: 38.55 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.4326, allocations: 24.91 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.4327, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.433, allocations: 111.2 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.433, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004662/0.4334, allocations: 137.5 kB / 1.221 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4335, allocations: 55.34 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4336, allocations: 144.4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.4337, allocations: 33.69 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.4338, allocations: 112 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.4338, allocations: 27.89 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.4339, allocations: 45.69 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4341, allocations: 322.8 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.4342, allocations: 47.97 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.4345, allocations: 136.3 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.4348, allocations: 200.6 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4348, allocations: 0 / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005299/0.4353, allocations: 247 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.4354, allocations: 37.7 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4354, allocations: 0 / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4354, allocations: 4 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4355, allocations: 31.91 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4356, allocations: 7.938 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.4358, allocations: 40.22 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.4358, allocations: 19.98 kB / 1.222 GB, free: 8.969 MB / 0.9669 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.0001185/0.4359, allocations: 125.8 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.4359, allocations: 11.91 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.436, allocations: 16.7 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.436, allocations: 0 / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.436, allocations: 3.938 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.436, allocations: 0 / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.4366, allocations: 398.8 kB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4366, allocations: 7.984 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.4367, allocations: 8 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4367, allocations: 3.938 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4368, allocations: 7.984 kB / 1.223 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4368, allocations: 0 / 1.223 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4368, allocations: 7.875 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.4372, allocations: 239.4 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.4373, allocations: 96.91 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.4373, allocations: 4 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.4374, allocations: 8 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.4374, allocations: 7.984 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.4374, allocations: 11.98 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.352e-05/0.4375, allocations: 99.27 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4375, allocations: 0 / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000299/0.4378, allocations: 31.95 kB / 1.223 GB, free: 7.801 MB / 0.9669 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.000201/0.438, allocations: 111.2 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.4384, allocations: 171.3 kB / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4384, allocations: 0 / 1.223 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4386, allocations: 35.91 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4389, allocations: 20.3 kB / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.4396, allocations: 304.9 kB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.4399, allocations: 0.7084 MB / 1.224 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.555e-05/0.44, allocations: 12.64 kB / 1.224 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.44, allocations: 15.44 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.44, allocations: 0 / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of Templates: time 0.005426/0.4455, allocations: 1.674 MB / 1.226 GB, free: 4.715 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.90304960962385]