Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005348/0.005348, allocations: 100.7 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.14 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3909, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00244/0.3933, allocations: 0.8888 MB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3953, allocations: 1.175 MB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3954, allocations: 4 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.3955, allocations: 11.86 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3957, allocations: 19.8 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.3963, allocations: 150 kB / 1.21 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3966, allocations: 167.7 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3968, allocations: 37.11 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3969, allocations: 67.81 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3971, allocations: 79.66 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.3971, allocations: 12 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.3972, allocations: 31.98 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3973, allocations: 23.92 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.3974, allocations: 59.72 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3976, allocations: 179.6 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3976, allocations: 0 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3977, allocations: 0 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3977, allocations: 4 kB / 1.21 GB, free: 7.23 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.0008823/0.3986, allocations: 456.7 kB / 1.211 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.3986, allocations: 8.625 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.3987, allocations: 38.75 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.3988, allocations: 12.84 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.3994, allocations: 264.1 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.3995, allocations: 8.375 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.3995, allocations: 12.38 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3998, allocations: 92.06 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3998, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3998, allocations: 4 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3999, allocations: 7.984 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.4, allocations: 47.95 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.4009, allocations: 388.4 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.4011, allocations: 30.56 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4012, allocations: 32.95 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.4012, allocations: 4 kB / 1.212 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.4016, allocations: 99.23 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.4016, allocations: 0 / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004655/0.402, allocations: 137.4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4021, allocations: 63.33 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4023, allocations: 135.9 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.4023, allocations: 33.7 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.4024, allocations: 116 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4025, allocations: 23.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.4026, allocations: 41.7 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4028, allocations: 326.8 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.4029, allocations: 51.95 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.4032, allocations: 136.9 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.4036, allocations: 204.6 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4036, allocations: 3.938 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005199/0.4041, allocations: 246.8 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.4042, allocations: 33.7 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4042, allocations: 4 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4042, allocations: 4.375 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4043, allocations: 35.86 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4044, allocations: 4 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.4046, allocations: 39.89 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.4046, allocations: 12 kB / 1.213 GB, free: 3.797 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.0001442/0.4048, allocations: 129.8 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4048, allocations: 11.81 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.4049, allocations: 16.72 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4049, allocations: 3.938 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4049, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4049, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.4056, allocations: 402.7 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4056, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.4057, allocations: 19.92 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4057, allocations: 4 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4057, allocations: 4 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/0.4057, allocations: 7.938 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4058, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.4063, allocations: 242.5 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.4063, allocations: 84.95 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4064, allocations: 12 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.4065, allocations: 8.031 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.4066, allocations: 7.984 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.4066, allocations: 4 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.683e-05/0.4067, allocations: 105.1 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4067, allocations: 0 / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003261/0.407, allocations: 28 kB / 1.214 GB, free: 2.625 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.000883/0.4079, allocations: 0.7903 MB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4083, allocations: 183.6 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4083, allocations: 0 / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4085, allocations: 44.12 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.4088, allocations: 23.92 kB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.4112, allocations: 1.957 MB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.4115, allocations: 0.7084 MB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.479e-05/0.4116, allocations: 12.98 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.4117, allocations: 39.42 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4117, allocations: 0 / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4343, allocations: 3.176 MB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.155, allocations: 6.812 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches