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.0009134/0.0009134, allocations: 85.08 kB / 19.87 MB, free: 4.617 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.000927/0.000927, allocations: 169 kB / 23.27 MB, free: 1.219 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.9758/0.9758, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.326/2.326, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 3.457e-06/3.457e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.713e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.00293/0.002967, allocations: 1.067 MB / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.00538, allocations: 1.641 MB / 0.8924 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.005522, allocations: 4 kB / 0.8924 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.005672, allocations: 23.73 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.005782, allocations: 47.59 kB / 0.8925 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.006229, allocations: 215.4 kB / 0.8927 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.006531, allocations: 331.2 kB / 0.893 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.006692, allocations: 59.02 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.006969, allocations: 191.6 kB / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.007091, allocations: 95.73 kB / 0.8933 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.007134, allocations: 32 kB / 0.8934 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.677e-05/0.00721, allocations: 36 kB / 0.8934 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.007257, allocations: 55.81 kB / 0.8934 GB, free: 6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.007337, allocations: 91.8 kB / 0.8935 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.007595, allocations: 231.2 kB / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.007599, allocations: 0 / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.007601, allocations: 0 / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.007606, allocations: 0 / 0.8937 GB, free: 5.684 MB / 0.8542 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.0006467/0.008252, allocations: 0.5723 MB / 0.8943 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.008288, allocations: 8.922 kB / 0.8943 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.008348, allocations: 44.78 kB / 0.8944 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.008555, allocations: 216.2 kB / 0.8946 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.008578, allocations: 16.66 kB / 0.8946 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.008603, allocations: 20.38 kB / 0.8946 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.008809, allocations: 150.2 kB / 0.8947 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.008818, allocations: 192 / 0.8947 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.008833, allocations: 20.3 kB / 0.8948 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.008842, allocations: 7.938 kB / 0.8948 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.008945, allocations: 80.89 kB / 0.8948 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.009447, allocations: 0.5075 MB / 0.8953 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.009634, allocations: 115.4 kB / 0.8955 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.009682, allocations: 43.66 kB / 0.8955 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.009704, allocations: 11.94 kB / 0.8955 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.009867, allocations: 167.2 kB / 0.8957 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.009869, allocations: 0 / 0.8957 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0002826/0.01015, allocations: 233.4 kB / 0.8959 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.01018, allocations: 63.33 kB / 0.8959 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.01029, allocations: 227.2 kB / 0.8962 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.01032, allocations: 41.7 kB / 0.8962 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.01039, allocations: 167.4 kB / 0.8964 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.01043, allocations: 75.44 kB / 0.8964 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.01052, allocations: 79.31 kB / 0.8965 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01063, allocations: 0.504 MB / 0.897 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.0107, allocations: 73.66 kB / 0.8971 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.01081, allocations: 170.4 kB / 0.8972 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.01097, allocations: 156.3 kB / 0.8974 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01097, allocations: 3.938 kB / 0.8974 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002586/0.01123, allocations: 297 kB / 0.8977 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.01126, allocations: 37.8 kB / 0.8977 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01126, allocations: 4 kB / 0.8977 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.01127, allocations: 7.875 kB / 0.8977 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.01134, allocations: 23.98 kB / 0.8977 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01134, allocations: 11.92 kB / 0.8978 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01145, allocations: 35.94 kB / 0.8978 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01147, allocations: 11.98 kB / 0.8978 GB, free: 1.25 MB / 0.8542 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 9.652e-05/0.01156, allocations: 196.5 kB / 0.898 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.01159, allocations: 27.89 kB / 0.898 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.01181, allocations: 219.6 kB / 0.8982 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01181, allocations: 7.938 kB / 0.8982 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01181, allocations: 0 / 0.8982 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01181, allocations: 0 / 0.8982 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.01221, allocations: 0.5178 MB / 0.8987 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01221, allocations: 4 kB / 0.8987 GB, free: 240 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.01225, allocations: 19.92 kB / 0.8988 GB, free: 220 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01225, allocations: 7.938 kB / 0.8988 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01226, allocations: 8 kB / 0.8988 GB, free: 204 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01226, allocations: 0 / 0.8988 GB, free: 204 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01227, allocations: 3.984 kB / 0.8988 GB, free: 200 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.01257, allocations: 360.3 kB / 0.8991 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.01259, allocations: 23.8 kB / 0.8991 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01262, allocations: 15.94 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01268, allocations: 11.98 kB / 0.8992 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.01273, allocations: 27.94 kB / 0.8992 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01275, allocations: 8 kB / 0.8992 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.0128, allocations: 172 kB / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 0 / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001897/0.01299, allocations: 63.89 kB / 0.8994 GB, free: 15.51 MB / 0.8698 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.0001429/0.01313, allocations: 125.2 kB / 0.8995 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.01337, allocations: 253.1 kB / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01337, allocations: 0 / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.01344, allocations: 75.52 kB / 0.8999 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.01367, allocations: 52.03 kB / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.0141, allocations: 341.2 kB / 0.9002 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01414, allocations: 76.33 kB / 0.9003 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.0142, allocations: 29.94 kB / 0.9003 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.01434, allocations: 130.2 kB / 0.9005 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.01434, allocations: 0 / 0.9005 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of Templates: time 0.005435/0.01978, allocations: 3.895 MB / 0.9043 GB, free: 10.55 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.27502689184621]