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.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.001896/0.001896, allocations: 81.08 kB / 19.18 MB, free: 2.516 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.00196/0.00196, allocations: 158.6 kB / 22.46 MB, free: 5.375 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.992/2.992, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.169e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002576/0.002608, allocations: 1.026 MB / 1.001 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.005825, allocations: 1.629 MB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.006063, allocations: 3.938 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.006273, allocations: 23.73 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.00652, allocations: 43.64 kB / 1.003 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.007345, allocations: 219.7 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.007947, allocations: 335.2 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.00819, allocations: 59.08 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.008623, allocations: 183.7 kB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.008879, allocations: 103.7 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.008975, allocations: 32 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.009101, allocations: 47.92 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.009181, allocations: 59.81 kB / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.009338, allocations: 91.8 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.009894, allocations: 386.9 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.009899, allocations: 0 / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.0099, allocations: 0 / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.009911, allocations: 7.938 kB / 1.004 GB, free: 3.039 MB / 0.9512 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.001238/0.01115, allocations: 483.8 kB / 1.005 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.0112, allocations: 8.031 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.01133, allocations: 24.8 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.01184, allocations: 209.4 kB / 1.005 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.01188, allocations: 20.64 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.01193, allocations: 24.38 kB / 1.005 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.01238, allocations: 176.4 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.0124, allocations: 8.172 kB / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.01243, allocations: 20.28 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01244, allocations: 3.938 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.01278, allocations: 128.7 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.01392, allocations: 0.5001 MB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.01443, allocations: 182.8 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.01462, allocations: 72.73 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.01465, allocations: 4 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.01507, allocations: 195.1 kB / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.01507, allocations: 0 / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.0008185/0.01589, allocations: 334 kB / 1.007 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.01595, allocations: 63.34 kB / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.01616, allocations: 174.2 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.01622, allocations: 41.7 kB / 1.007 GB, free: 264 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01634, allocations: 136.6 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.01641, allocations: 55.53 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.01657, allocations: 73.77 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.01673, allocations: 330.8 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.01697, allocations: 129.7 kB / 1.008 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.01726, allocations: 196.2 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01761, allocations: 213.6 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01762, allocations: 0 / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000647/0.01827, allocations: 373.5 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.01832, allocations: 41.64 kB / 1.008 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.01833, allocations: 3.984 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.01836, allocations: 7.938 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01848, allocations: 23.92 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.0185, allocations: 4 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.0188, allocations: 55.92 kB / 1.008 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.01884, allocations: 15.97 kB / 1.008 GB, free: 14.54 MB / 0.9669 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.0002035/0.01904, allocations: 153.8 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.01909, allocations: 19.89 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.01976, allocations: 283.5 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.01976, allocations: 8 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.01977, allocations: 0 / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01978, allocations: 0 / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.0208, allocations: 0.5685 MB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.0208, allocations: 0 / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.02088, allocations: 19.98 kB / 1.009 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.02088, allocations: 0 / 1.009 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.02091, allocations: 7.984 kB / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.02091, allocations: 0 / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02091, allocations: 0 / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.02153, allocations: 376.1 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.02157, allocations: 23.78 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.02162, allocations: 12 kB / 1.01 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.02178, allocations: 11.98 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.02187, allocations: 27.94 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.02191, allocations: 12 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001386/0.02204, allocations: 136.2 kB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.02204, allocations: 0 / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000369/0.02241, allocations: 67.89 kB / 1.01 GB, free: 12.76 MB / 0.9669 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.0002559/0.02267, allocations: 130 kB / 1.01 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.02335, allocations: 316.9 kB / 1.01 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02336, allocations: 0 / 1.01 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.0236, allocations: 103.8 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.02404, allocations: 48.03 kB / 1.011 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.02489, allocations: 354.7 kB / 1.011 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.02502, allocations: 125.3 kB / 1.011 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.02513, allocations: 25.94 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.0252, allocations: 28.44 kB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.0252, allocations: 0 / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of Templates: time 0.009302/0.0345, allocations: 3.535 MB / 1.015 GB, free: 8.105 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.600949078798294]