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.0008427/0.0008427, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008542/0.0008542, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8913/0.8913, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.707/1.707, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.493e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001562/0.001587, allocations: 1.02 MB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.003236, allocations: 1.61 MB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.003347, allocations: 7.938 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.003478, allocations: 15.75 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.00359, allocations: 55.56 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.004026, allocations: 214.8 kB / 0.9851 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.004285, allocations: 335.2 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.004421, allocations: 51.08 kB / 0.9854 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.004601, allocations: 195.6 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.004706, allocations: 95.73 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.004742, allocations: 32 kB / 0.9857 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.004812, allocations: 43.98 kB / 0.9858 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.004854, allocations: 55.81 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.276e-05/0.004937, allocations: 95.75 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.005262, allocations: 394.8 kB / 0.9863 GB, free: 13.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005265, allocations: 0 / 0.9863 GB, free: 13.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005265, allocations: 0 / 0.9863 GB, free: 13.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.00527, allocations: 0 / 0.9863 GB, free: 13.86 MB / 0.948 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.0008196/0.00609, allocations: 483.8 kB / 0.9868 GB, free: 13.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.006127, allocations: 12.03 kB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.006187, allocations: 24.8 kB / 0.9868 GB, free: 13.31 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.00645, allocations: 209.4 kB / 0.987 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.006476, allocations: 24.64 kB / 0.987 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.006505, allocations: 20.38 kB / 0.987 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.006755, allocations: 177.5 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.006764, allocations: 8.172 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.006784, allocations: 16.3 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006791, allocations: 7.938 kB / 0.9872 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.006973, allocations: 132.7 kB / 0.9874 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.007585, allocations: 0.5 MB / 0.9879 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.007872, allocations: 182.8 kB / 0.988 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.007972, allocations: 68.83 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.007992, allocations: 3.984 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.008227, allocations: 207 kB / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.008229, allocations: 0 / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.000465/0.008694, allocations: 339.3 kB / 0.9886 GB, free: 11.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.008731, allocations: 59.34 kB / 0.9887 GB, free: 11.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008847, allocations: 183.2 kB / 0.9889 GB, free: 11.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.008877, allocations: 41.7 kB / 0.9889 GB, free: 11.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.008941, allocations: 120.7 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.008982, allocations: 71.47 kB / 0.9891 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.009059, allocations: 73.67 kB / 0.9892 GB, free: 10.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.009143, allocations: 334.8 kB / 0.9895 GB, free: 10.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.009284, allocations: 121.7 kB / 0.9896 GB, free: 10.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.009447, allocations: 203.4 kB / 0.9898 GB, free: 10.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.009645, allocations: 213 kB / 0.99 GB, free: 9.863 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.009648, allocations: 0 / 0.99 GB, free: 9.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003559/0.01, allocations: 376.9 kB / 0.9903 GB, free: 9.477 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.01003, allocations: 41.62 kB / 0.9904 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01004, allocations: 4 kB / 0.9904 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01005, allocations: 0 / 0.9904 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.01012, allocations: 31.92 kB / 0.9904 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01012, allocations: 0 / 0.9904 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01025, allocations: 51.91 kB / 0.9905 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01027, allocations: 16 kB / 0.9905 GB, free: 9.328 MB / 0.948 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.0001035/0.01037, allocations: 154.5 kB / 0.9906 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.0104, allocations: 23.84 kB / 0.9907 GB, free: 9.148 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.01072, allocations: 278.3 kB / 0.9909 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01073, allocations: 8 kB / 0.9909 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01073, allocations: 0 / 0.9909 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01074, allocations: 3.984 kB / 0.9909 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.01125, allocations: 0.5686 MB / 0.9915 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01126, allocations: 3.938 kB / 0.9915 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.01129, allocations: 15.92 kB / 0.9915 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.0113, allocations: 4 kB / 0.9915 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01131, allocations: 11.98 kB / 0.9915 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01132, allocations: 4 kB / 0.9915 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01132, allocations: 0 / 0.9915 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.01161, allocations: 365.8 kB / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.01163, allocations: 19.8 kB / 0.9919 GB, free: 7.828 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.01166, allocations: 12 kB / 0.9919 GB, free: 7.816 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.01173, allocations: 19.97 kB / 0.9919 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.01178, allocations: 27.95 kB / 0.9919 GB, free: 7.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.0118, allocations: 11.98 kB / 0.992 GB, free: 7.758 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.01186, allocations: 131.1 kB / 0.9921 GB, free: 7.629 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01186, allocations: 0 / 0.9921 GB, free: 7.629 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001986/0.01206, allocations: 60 kB / 0.9921 GB, free: 7.57 MB / 0.948 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.0001333/0.0122, allocations: 132.1 kB / 0.9923 GB, free: 7.434 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.01255, allocations: 321.1 kB / 0.9926 GB, free: 7.102 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01255, allocations: 0 / 0.9926 GB, free: 7.102 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.01266, allocations: 91.91 kB / 0.9927 GB, free: 7.012 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01291, allocations: 52.02 kB / 0.9927 GB, free: 6.961 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.01339, allocations: 388.4 kB / 0.9931 GB, free: 6.547 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.01346, allocations: 121.3 kB / 0.9932 GB, free: 6.406 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.01351, allocations: 28.48 kB / 0.9932 GB, free: 6.379 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01351, allocations: 0 / 0.9932 GB, free: 6.379 MB / 0.948 GB Notification: Performance of Templates: time 0.003432/0.01694, allocations: 3.138 MB / 0.9963 GB, free: 3.27 MB / 0.948 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: 6.815689354203641]