Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001791/0.001791, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002147/0.002147, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.81/2.81, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [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.002197/0.002197, allocations: 59.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9882/0.9904, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002152/0.9925, allocations: 1.029 MB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.9945, allocations: 1.597 MB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.9946, allocations: 6.969 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.9947, allocations: 23.08 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.9949, allocations: 52.16 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.9955, allocations: 220.2 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.9958, allocations: 332.6 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.996, allocations: 57.55 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.9962, allocations: 129.9 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.9963, allocations: 110.5 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.9964, allocations: 34.62 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.9965, allocations: 41.19 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.9965, allocations: 58.06 kB / 1.158 GB, free: 31.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.9966, allocations: 112 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.997, allocations: 357.9 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.997, allocations: 0 / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.923e-06/0.997, allocations: 2.906 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.997, allocations: 2.953 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008304/0.9979, allocations: 485.1 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.9979, allocations: 8.719 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.998, allocations: 26.8 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.9983, allocations: 213.9 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.9983, allocations: 17.25 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.9983, allocations: 24.44 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.9987, allocations: 180.4 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9987, allocations: 2.594 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.9987, allocations: 14.73 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.9987, allocations: 2.75 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.999, allocations: 130 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.9998, allocations: 0.5092 MB / 1.16 GB, free: 29.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/1, allocations: 167 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/1, allocations: 74.62 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/1, allocations: 6.969 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/1.001, allocations: 203.7 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/1.001, allocations: 0 / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.0006258/1.001, allocations: 338.5 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/1.001, allocations: 54.31 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/1.002, allocations: 183.8 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/1.002, allocations: 42.42 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/1.002, allocations: 135.2 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/1.002, allocations: 61.19 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/1.002, allocations: 76.02 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.002, allocations: 330.7 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/1.002, allocations: 128.6 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/1.002, allocations: 201.7 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/1.002, allocations: 211.4 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.002, allocations: 2.844 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004433/1.003, allocations: 382.2 kB / 1.162 GB, free: 28.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.003, allocations: 38.83 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.003, allocations: 2.812 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.003, allocations: 0 / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.003, allocations: 31.22 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/1.003, allocations: 0 / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.003, allocations: 48.34 kB / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.003, allocations: 14.17 kB / 1.162 GB, free: 28.01 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.000116/1.003, allocations: 163.8 kB / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/1.003, allocations: 23.73 kB / 1.162 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/1.004, allocations: 273.3 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.004, allocations: 6.281 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.004, allocations: 0 / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.004, allocations: 0 / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/1.005, allocations: 0.567 MB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.005, allocations: 0 / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/1.005, allocations: 20.47 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.005, allocations: 4 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.005, allocations: 6.281 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.005, allocations: 0 / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.005, allocations: 6.062 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/1.005, allocations: 365.9 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/1.005, allocations: 14.78 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.005, allocations: 25.22 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.005, allocations: 15.45 kB / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/1.006, allocations: 28.22 kB / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/1.006, allocations: 8.062 kB / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.699e-05/1.006, allocations: 127.3 kB / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.006, allocations: 0 / 1.164 GB, free: 27.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003129/1.006, allocations: 63.86 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001624/1.006, allocations: 136.8 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000461/1.007, allocations: 317.4 kB / 1.164 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.007, allocations: 0 / 1.164 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.007, allocations: 102.5 kB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.007, allocations: 43.25 kB / 1.164 GB, free: 26.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/1.008, allocations: 363.3 kB / 1.165 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/1.008, allocations: 123.2 kB / 1.165 GB, free: 26.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.88e-05/1.008, allocations: 29.97 kB / 1.165 GB, free: 26.33 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/1.008, allocations: 27.39 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.008, allocations: 0 / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of Templates: time 0.006945/1.015, allocations: 3.543 MB / 1.168 GB, free: 25.91 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.144181126961485]