Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 102.2 kB / 16.27 MB, free: 6 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.001769/0.001769, allocations: 191 kB / 17.2 MB, free: 5.609 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.86 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7178, allocations: 162.2 MB / 1.083 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002107/0.7199, allocations: 1.083 MB / 1.084 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.7216, allocations: 1.595 MB / 1.086 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.7218, allocations: 7.562 kB / 1.086 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.7219, allocations: 24.16 kB / 1.086 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.722, allocations: 40.31 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.7226, allocations: 221.3 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.723, allocations: 353.2 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.7232, allocations: 81.98 kB / 1.086 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.7233, allocations: 136.7 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.7235, allocations: 117 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.7236, allocations: 34.53 kB / 1.087 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.7237, allocations: 47.7 kB / 1.087 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.7237, allocations: 61.77 kB / 1.087 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.7239, allocations: 133.6 kB / 1.087 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.7243, allocations: 365 kB / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.7243, allocations: 0 / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7243, allocations: 0 / 1.087 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7244, allocations: 1.188 kB / 1.087 GB, free: 15.23 MB / 0.8419 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.0009295/0.7253, allocations: 0.5423 MB / 1.088 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.7253, allocations: 9.406 kB / 1.088 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.7254, allocations: 32.11 kB / 1.088 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.7258, allocations: 277.7 kB / 1.088 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.7258, allocations: 16.09 kB / 1.088 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.7259, allocations: 27.06 kB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.7262, allocations: 189.9 kB / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7263, allocations: 0 / 1.088 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.7263, allocations: 11.09 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7263, allocations: 2.938 kB / 1.088 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.7266, allocations: 145.7 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.7278, allocations: 0.6601 MB / 1.089 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.7283, allocations: 216.5 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.7285, allocations: 96.56 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.7285, allocations: 3.453 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.729, allocations: 213.6 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.729, allocations: 1.25 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0007905/0.7298, allocations: 346 kB / 1.09 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.7299, allocations: 59.08 kB / 1.09 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.7301, allocations: 176.2 kB / 1.09 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.7301, allocations: 45.59 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.7302, allocations: 123.8 kB / 1.09 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.7303, allocations: 69.58 kB / 1.09 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.7305, allocations: 71.33 kB / 1.09 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7306, allocations: 329.3 kB / 1.091 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.7308, allocations: 94.33 kB / 1.091 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.7311, allocations: 155.1 kB / 1.091 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.7314, allocations: 206.2 kB / 1.091 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7314, allocations: 3.938 kB / 1.091 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005731/0.732, allocations: 326.8 kB / 1.091 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.732, allocations: 42.8 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.732, allocations: 1.891 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7321, allocations: 2.344 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.7322, allocations: 28.89 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7322, allocations: 3.375 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.7325, allocations: 51.39 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.7326, allocations: 11.83 kB / 1.091 GB, free: 12.27 MB / 0.8419 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,$whenCondition4,$whenCondition5,$whenCondition3) * 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.0001827/0.7327, allocations: 168.1 kB / 1.092 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.7328, allocations: 17.8 kB / 1.092 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.7334, allocations: 286.7 kB / 1.092 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7334, allocations: 3.312 kB / 1.092 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7334, allocations: 0.6562 kB / 1.092 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7334, allocations: 2.719 kB / 1.092 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.7344, allocations: 0.6893 MB / 1.093 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7345, allocations: 1.5 kB / 1.093 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.7345, allocations: 16 kB / 1.093 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7345, allocations: 1.625 kB / 1.093 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.7346, allocations: 10.05 kB / 1.093 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7346, allocations: 5.984 kB / 1.093 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7346, allocations: 9.062 kB / 1.093 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.7352, allocations: 371.8 kB / 1.093 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.7352, allocations: 95.53 kB / 1.093 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.7353, allocations: 15.39 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.7355, allocations: 13.28 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.7355, allocations: 25.25 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.7356, allocations: 24.45 kB / 1.093 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001139/0.7357, allocations: 131.5 kB / 1.093 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7357, allocations: 0 / 1.093 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003347/0.7361, allocations: 66.09 kB / 1.093 GB, free: 11.06 MB / 0.8419 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,$whenCondition3,$whenCondition5,$whenCondition4,$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.0002073/0.7363, allocations: 131.3 kB / 1.094 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.7369, allocations: 323.2 kB / 1.094 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7369, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.7372, allocations: 130.4 kB / 1.094 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.7376, allocations: 42.89 kB / 1.094 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.7384, allocations: 403.7 kB / 1.094 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.7387, allocations: 0.7283 MB / 1.095 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.7388, allocations: 24.95 kB / 1.095 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.7388, allocations: 4 kB / 1.095 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of Templates: time 0.005668/0.7445, allocations: 3.079 MB / 1.098 GB, free: 9.449 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches