Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.9 kB / 16.42 MB, free: 6.492 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.001503/0.001503, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.536/1.536, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9297/0.9313, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002346/0.9337, allocations: 0.8849 MB / 1.09 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.9354, allocations: 1.175 MB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.9355, allocations: 1.125 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.9355, allocations: 9.281 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.9356, allocations: 24.45 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.9362, allocations: 156.4 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.9365, allocations: 172.3 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.9366, allocations: 35.02 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.9367, allocations: 69.05 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.9369, allocations: 71.52 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.9369, allocations: 15.53 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.9371, allocations: 33.03 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.9371, allocations: 25.5 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.9372, allocations: 62.14 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.9375, allocations: 170.8 kB / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9375, allocations: 1.125 kB / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9375, allocations: 0 / 1.092 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9376, allocations: 0 / 1.092 GB, free: 3.688 MB / 0.8575 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.0007828/0.9383, allocations: 453.1 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.9384, allocations: 10.48 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.9385, allocations: 12.44 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.939, allocations: 256.8 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.939, allocations: 4.938 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.9391, allocations: 18.92 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.9394, allocations: 86.94 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.9394, allocations: 3.938 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9394, allocations: 2.859 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.9394, allocations: 1.094 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.9396, allocations: 50.55 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000802/0.9404, allocations: 390 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.9406, allocations: 40.56 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.9407, allocations: 26.92 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.9407, allocations: 4.75 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.941, allocations: 93.56 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.654e-06/0.941, allocations: 0 / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004906/0.9415, allocations: 134.2 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.9416, allocations: 52.97 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.9417, allocations: 150.1 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.9417, allocations: 37.08 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.9418, allocations: 118.6 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.9419, allocations: 29.88 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.9419, allocations: 47.45 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.942, allocations: 320.8 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.9422, allocations: 53.22 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.9425, allocations: 132.3 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.9428, allocations: 200.4 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9428, allocations: 0.7812 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005109/0.9433, allocations: 241.6 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.9434, allocations: 39.94 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9434, allocations: 3.312 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.9434, allocations: 3.438 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.9436, allocations: 30.89 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.9436, allocations: 8.953 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.9438, allocations: 39.52 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.9439, allocations: 15.45 kB / 1.094 GB, free: 1.285 MB / 0.8575 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.0001024/0.944, allocations: 132.3 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.944, allocations: 13.48 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.944, allocations: 13.11 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.9441, allocations: 0.6562 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9441, allocations: 0 / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.9441, allocations: 88.3 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.9441, allocations: 2.797 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.67e-05/0.9442, allocations: 14.12 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.9443, allocations: 7.719 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000401/0.9447, allocations: 200 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004489/0.9451, allocations: 331.2 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001282/0.9453, allocations: 41.09 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.9453, allocations: 105.3 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/0.9453, allocations: 3.938 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006793/0.946, allocations: 254.2 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0008101/0.9468, allocations: 0.7095 MB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of Templates: time 0.005748/0.9526, allocations: 1.763 MB / 1.098 GB, free: 15.54 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches