Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.00129/0.00129, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 15.94 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7732, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001819/0.7751, allocations: 0.8235 MB / 1.022 GB, free: 288 kB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.7777, allocations: 1.892 MB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.7778, allocations: 0 / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.7779, allocations: 15.81 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.7781, allocations: 99.73 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.781, allocations: 1.273 MB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.782, allocations: 0.5733 MB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.7821, allocations: 28.7 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.7826, allocations: 419.3 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.7829, allocations: 331.1 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.7831, allocations: 56 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.7833, allocations: 71.98 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.7833, allocations: 51.81 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.7835, allocations: 125.6 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.7843, allocations: 0.6603 MB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7843, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7843, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.7843, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001075/0.7854, allocations: 1.012 MB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7854, allocations: 11.98 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.7856, allocations: 63.62 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.7858, allocations: 223.2 kB / 1.028 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.7859, allocations: 35.98 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.786, allocations: 67.94 kB / 1.028 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.7863, allocations: 218.3 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7863, allocations: 0 / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.7863, allocations: 11.98 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.7863, allocations: 4 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.7865, allocations: 71.72 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.7873, allocations: 0.8405 MB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.7876, allocations: 323.2 kB / 1.03 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.7876, allocations: 8 kB / 1.03 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005473/0.7882, allocations: 470.7 kB / 1.03 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 1.813e-06/0.7882, allocations: 0 / 1.03 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.0009467/0.7892, allocations: 0.561 MB / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.7894, allocations: 431.2 kB / 1.031 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.7896, allocations: 304.2 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.7898, allocations: 65.7 kB / 1.032 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.79, allocations: 157.3 kB / 1.032 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.7901, allocations: 94.84 kB / 1.032 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.7902, allocations: 39.98 kB / 1.032 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7903, allocations: 350.8 kB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/0.7911, allocations: 417.3 kB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.7921, allocations: 0.7067 MB / 1.033 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.793, allocations: 0.8185 MB / 1.034 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.7931, allocations: 4 kB / 1.034 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002539/0.7956, allocations: 1.709 MB / 1.036 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.7959, allocations: 485.5 kB / 1.036 GB, free: 228 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7959, allocations: 12 kB / 1.036 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.603e-05/0.796, allocations: 16 kB / 1.036 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.796, allocations: 35.8 kB / 1.036 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.7961, allocations: 19.92 kB / 1.036 GB, free: 144 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.7986, allocations: 0.5663 MB / 1.037 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.7988, allocations: 99.91 kB / 1.037 GB, free: 15.48 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.7991, allocations: 213.6 kB / 1.037 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.7992, allocations: 35.62 kB / 1.037 GB, free: 15.23 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.7993, allocations: 42.09 kB / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7993, allocations: 8 kB / 1.037 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.7993, allocations: 7.984 kB / 1.037 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.7994, allocations: 4 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.7997, allocations: 337.2 kB / 1.038 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.7998, allocations: 8 kB / 1.038 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.7998, allocations: 19.86 kB / 1.038 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.7998, allocations: 15.88 kB / 1.038 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.7998, allocations: 19.98 kB / 1.038 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.7999, allocations: 15.94 kB / 1.038 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7999, allocations: 4 kB / 1.038 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.8006, allocations: 0.6761 MB / 1.038 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.8007, allocations: 124.5 kB / 1.038 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.8007, allocations: 15.98 kB / 1.038 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.8009, allocations: 8 kB / 1.039 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.801, allocations: 59.89 kB / 1.039 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.801, allocations: 35.97 kB / 1.039 GB, free: 13.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001493/0.8012, allocations: 187.1 kB / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8012, allocations: 0 / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006779/0.8018, allocations: 196 kB / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.8021, allocations: 135.1 kB / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.804, allocations: 1.743 MB / 1.041 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8041, allocations: 256 / 1.041 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.8043, allocations: 184.6 kB / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.8049, allocations: 113.5 kB / 1.041 GB, free: 10.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.8059, allocations: 0.6707 MB / 1.042 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.8062, allocations: 0.792 MB / 1.043 GB, free: 9.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.8063, allocations: 38.98 kB / 1.043 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.8064, allocations: 35.42 kB / 1.043 GB, free: 9.266 MB / 0.795 GB Notification: Performance of SimCode: time 1.573e-06/0.8064, allocations: 4 kB / 1.043 GB, free: 9.262 MB / 0.795 GB Notification: Performance of Templates: time 0.01882/0.8252, allocations: 10.86 MB / 1.053 GB, free: 14.57 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches