Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001692/0.001692, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002372/0.002372, allocations: 214 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.418/3.418, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.64 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4158, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002404/0.4182, allocations: 0.8495 MB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.4203, allocations: 1.19 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.4203, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.4204, allocations: 7.875 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.4205, allocations: 23.8 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.4211, allocations: 150.7 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.4213, allocations: 159.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.4215, allocations: 37.27 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.4216, allocations: 63.78 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.4217, allocations: 67.72 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.4217, allocations: 12 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.4218, allocations: 28 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.4219, allocations: 23.91 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.422, allocations: 59.77 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.4222, allocations: 167.4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4222, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4222, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4222, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 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.0008274/0.4231, allocations: 422 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4231, allocations: 8.031 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.4232, allocations: 12.89 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4237, allocations: 202.3 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4237, allocations: 4.375 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.4238, allocations: 16.31 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.424, allocations: 94.2 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.424, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.424, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4241, allocations: 7.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4242, allocations: 47.89 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.4249, allocations: 304.2 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4251, allocations: 42.5 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.4252, allocations: 32.95 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4252, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.4255, allocations: 91.36 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.4255, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004361/0.4259, allocations: 137.5 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.426, allocations: 59.39 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4261, allocations: 147.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4261, allocations: 29.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.4262, allocations: 120 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4263, allocations: 23.81 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.4263, allocations: 49.69 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4265, allocations: 322.8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.4267, allocations: 77.66 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.4269, allocations: 164.9 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.4273, allocations: 212.6 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4273, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000507/0.4278, allocations: 265.1 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.4278, allocations: 45.69 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4279, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4279, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.428, allocations: 28.3 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.428, allocations: 4 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.4282, allocations: 39.84 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4283, allocations: 16 kB / 1.331 GB, free: 11.71 MB / 1.029 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.0001275/0.4284, allocations: 138.2 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.4284, allocations: 11.91 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.4285, allocations: 16.7 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4285, allocations: 3.938 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.429, allocations: 334.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.429, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.4291, allocations: 19.92 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4291, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4291, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4291, allocations: 3.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4291, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.4295, allocations: 243.3 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4296, allocations: 7.953 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.4296, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.4297, allocations: 19.97 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4297, allocations: 7.984 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4297, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.108e-05/0.4298, allocations: 105.5 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4298, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002887/0.4301, allocations: 35.92 kB / 1.332 GB, free: 10.71 MB / 1.029 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.0001862/0.4303, allocations: 111.2 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4307, allocations: 200.9 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4307, allocations: 4 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4308, allocations: 32.11 kB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4311, allocations: 27.86 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.4317, allocations: 273.7 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.849e-05/0.4318, allocations: 93.62 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.759e-05/0.4318, allocations: 20.62 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.4319, allocations: 15.44 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4319, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of Templates: time 0.005352/0.4372, allocations: 1.826 MB / 1.335 GB, free: 8.086 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.910334464162588]