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.001857/0.001857, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.002353/0.002353, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.896/2.896, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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.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.002444/0.002444, allocations: 67.88 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002034/1.058, allocations: 1.095 MB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001708/1.06, allocations: 1.665 MB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/1.06, allocations: 2.844 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/1.06, allocations: 18.7 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/1.06, allocations: 43.97 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/1.061, allocations: 225 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/1.061, allocations: 330.1 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/1.061, allocations: 59.42 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/1.061, allocations: 129.6 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/1.062, allocations: 127.2 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/1.062, allocations: 32.34 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/1.062, allocations: 46.84 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/1.062, allocations: 54.53 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/1.062, allocations: 123.9 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/1.062, allocations: 360.8 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.062, allocations: 4 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.062, allocations: 0 / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.062, allocations: 0 / 1.326 GB, free: 22.33 MB / 1.061 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.0007868/1.063, allocations: 0.5505 MB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.063, allocations: 12.23 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/1.063, allocations: 23.25 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/1.063, allocations: 282.6 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.063, allocations: 13.19 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/1.063, allocations: 28.27 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/1.064, allocations: 182.8 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.064, allocations: 0 / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/1.064, allocations: 11.62 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.064, allocations: 2.781 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/1.064, allocations: 133.6 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/1.065, allocations: 0.6497 MB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/1.065, allocations: 167.8 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/1.066, allocations: 72.88 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/1.066, allocations: 1.625 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/1.066, allocations: 212.8 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/1.066, allocations: 4 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0007974/1.067, allocations: 322.3 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/1.067, allocations: 54.97 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/1.067, allocations: 184.8 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.979e-05/1.067, allocations: 40.28 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/1.067, allocations: 128.9 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/1.067, allocations: 61.61 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.067, allocations: 79.56 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.067, allocations: 329.6 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.067, allocations: 95.34 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/1.068, allocations: 145.4 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/1.068, allocations: 210.1 kB / 1.33 GB, free: 19.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.068, allocations: 4.531 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005776/1.069, allocations: 335.4 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/1.069, allocations: 39.69 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.069, allocations: 1.25 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.069, allocations: 2.281 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.069, allocations: 30.27 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.069, allocations: 3.344 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/1.069, allocations: 51.19 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/1.069, allocations: 11.83 kB / 1.33 GB, free: 19.4 MB / 1.061 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.0001619/1.069, allocations: 158.5 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.069, allocations: 17.98 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/1.07, allocations: 281 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.07, allocations: 7.766 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.07, allocations: 0 / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/1.07, allocations: 2.406 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008972/1.071, allocations: 0.6598 MB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.071, allocations: 0 / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/1.071, allocations: 16.38 kB / 1.332 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.071, allocations: 2.062 kB / 1.332 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.071, allocations: 21.41 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.071, allocations: 1.859 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.071, allocations: 1.531 kB / 1.332 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/1.071, allocations: 357.2 kB / 1.332 GB, free: 18.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/1.071, allocations: 94.88 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.072, allocations: 13.64 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.072, allocations: 21.5 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/1.072, allocations: 24.92 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/1.072, allocations: 19.95 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.428e-05/1.072, allocations: 122.4 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003525/1.072, allocations: 64.09 kB / 1.332 GB, free: 18.2 MB / 1.061 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.0001902/1.072, allocations: 131.6 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.073, allocations: 280.8 kB / 1.333 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.073, allocations: 1.219 kB / 1.333 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/1.073, allocations: 98.73 kB / 1.333 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.074, allocations: 40.33 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/1.074, allocations: 396.5 kB / 1.333 GB, free: 17.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/1.074, allocations: 0.7281 MB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/1.075, allocations: 30.38 kB / 1.334 GB, free: 16.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.075, allocations: 0 / 1.334 GB, free: 16.95 MB / 1.061 GB Notification: Performance of Templates: time 0.006064/1.081, allocations: 3.078 MB / 1.337 GB, free: 16.61 MB / 1.061 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 -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: 11.842288177009323]