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.001511/0.001511, 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.001759/0.001759, allocations: 212.3 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.793 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.631/3.631, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002129/0.002129, allocations: 65.97 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3784, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002497/0.3809, allocations: 1.027 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3833, allocations: 1.603 MB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3834, allocations: 7.938 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.3835, allocations: 19.73 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3836, allocations: 51.64 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.3842, allocations: 220.3 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.3846, allocations: 323.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3847, allocations: 58.95 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3849, allocations: 131.6 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.385, allocations: 111.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.3851, allocations: 32 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3852, allocations: 43.98 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.3853, allocations: 51.89 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.3854, allocations: 111.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.3858, allocations: 362.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3858, allocations: 7.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3858, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3858, allocations: 0 / 1.33 GB, free: 13.71 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009461/0.3868, allocations: 485.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3868, allocations: 12.03 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.3869, allocations: 24.78 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3873, allocations: 210.2 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3873, allocations: 16.66 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.3874, allocations: 28.3 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.3878, allocations: 180.1 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3878, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.3878, allocations: 11.98 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3878, allocations: 4 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.3881, allocations: 132.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/0.3891, allocations: 0.5117 MB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3896, allocations: 174.8 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3898, allocations: 72.83 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3898, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.3902, allocations: 205.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.3902, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.000782/0.391, allocations: 338.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.391, allocations: 55.41 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3912, allocations: 182.8 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.3913, allocations: 45.64 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.3914, allocations: 120.6 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.3915, allocations: 71.52 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3916, allocations: 65.69 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3917, allocations: 338.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.392, allocations: 121.7 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.3923, allocations: 207.9 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3926, allocations: 209.1 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3926, allocations: 0 / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006207/0.3932, allocations: 381.4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.3933, allocations: 29.7 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3933, allocations: 4 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3933, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3934, allocations: 35.92 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3934, allocations: 7.875 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.3937, allocations: 55.91 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3937, allocations: 15.98 kB / 1.334 GB, free: 9.184 MB / 1.029 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.000181/0.3939, allocations: 153.8 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3939, allocations: 19.84 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.3945, allocations: 277.9 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3945, allocations: 8 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3945, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3945, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.3955, allocations: 0.5763 MB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3955, allocations: 0 / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.3956, allocations: 11.94 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3956, allocations: 4 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3956, allocations: 7.984 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3956, allocations: 4 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3956, allocations: 3.984 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.3962, allocations: 365.9 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.3962, allocations: 23.83 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3962, allocations: 8 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3964, allocations: 15.98 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.3965, allocations: 27.95 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3965, allocations: 15.98 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001303/0.3967, allocations: 123.2 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3967, allocations: 0 / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003214/0.397, allocations: 75.81 kB / 1.335 GB, free: 7.414 MB / 1.029 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.0002264/0.3972, allocations: 128.7 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.3978, allocations: 320.8 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3978, allocations: 4 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.398, allocations: 95.89 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3984, allocations: 51.97 kB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.3992, allocations: 360.2 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3993, allocations: 121.3 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.801e-05/0.3994, allocations: 25.94 kB / 1.336 GB, free: 6.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.3994, allocations: 23.44 kB / 1.336 GB, free: 6.23 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3994, allocations: 0 / 1.336 GB, free: 6.23 MB / 1.029 GB Notification: Performance of Templates: time 0.008155/0.4076, allocations: 3.69 MB / 1.34 GB, free: 2.609 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/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.943599110469222]