Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.002008/0.002008, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00214/0.00214, allocations: 196.7 kB / 16.14 MB, free: 6.629 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.649/1.649, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.964/2.964, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 71.88 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9961, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003296/0.9995, allocations: 1.216 MB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004205/1.004, allocations: 2.361 MB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/1.004, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/1.004, allocations: 11.81 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/1.004, allocations: 79.39 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/1.008, allocations: 1.31 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001356/1.009, allocations: 1.053 MB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/1.009, allocations: 20.73 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/1.01, allocations: 431.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/1.01, allocations: 323 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/1.011, allocations: 60 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/1.011, allocations: 75.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/1.011, allocations: 55.75 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004823/1.011, allocations: 351 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/1.012, allocations: 0.9136 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.013, allocations: 3.984 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.447e-06/1.013, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.855e-06/1.013, allocations: 3.938 kB / 1.025 GB, free: 10.59 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.00177/1.014, allocations: 1.181 MB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.014, allocations: 8.031 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/1.015, allocations: 68.55 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/1.015, allocations: 228.3 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/1.015, allocations: 36.38 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.015, allocations: 64.36 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/1.015, allocations: 210.9 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.015, allocations: 8.125 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/1.016, allocations: 19.92 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.016, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.016, allocations: 63.78 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.017, allocations: 0.8407 MB / 1.027 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/1.017, allocations: 331.2 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.017, allocations: 136.8 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/1.017, allocations: 7.984 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008169/1.018, allocations: 470.4 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/1.018, allocations: 4 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.001199/1.02, allocations: 0.5615 MB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003179/1.02, allocations: 435.2 kB / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/1.02, allocations: 292.3 kB / 1.029 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/1.02, allocations: 69.69 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/1.021, allocations: 165.2 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.021, allocations: 94.88 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000569/1.021, allocations: 278.1 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.022, allocations: 350.8 kB / 1.03 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/1.023, allocations: 421.3 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/1.024, allocations: 0.6989 MB / 1.031 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.025, allocations: 1.203 MB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.026, allocations: 0 / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003202/1.029, allocations: 1.721 MB / 1.034 GB, free: 15.53 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003735/1.029, allocations: 481.4 kB / 1.035 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.029, allocations: 15.94 kB / 1.035 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/1.029, allocations: 16.06 kB / 1.035 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/1.029, allocations: 27.86 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/1.029, allocations: 27.86 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.032, allocations: 411 kB / 1.035 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.032, allocations: 107.9 kB / 1.035 GB, free: 14.38 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 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004242/1.032, allocations: 217.6 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.033, allocations: 43.47 kB / 1.036 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/1.033, allocations: 34.14 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.033, allocations: 8 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.033, allocations: 4 kB / 1.036 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.033, allocations: 7.984 kB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/1.033, allocations: 337.3 kB / 1.036 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.033, allocations: 8 kB / 1.036 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/1.033, allocations: 19.92 kB / 1.036 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.033, allocations: 7.938 kB / 1.036 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/1.033, allocations: 15.98 kB / 1.036 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/1.033, allocations: 15.92 kB / 1.036 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.033, allocations: 4 kB / 1.036 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/1.034, allocations: 0.5197 MB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.034, allocations: 112.6 kB / 1.037 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/1.034, allocations: 15.98 kB / 1.037 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.034, allocations: 15.98 kB / 1.037 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.035, allocations: 59.81 kB / 1.037 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/1.035, allocations: 31.98 kB / 1.037 GB, free: 12.78 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002158/1.035, allocations: 187.1 kB / 1.037 GB, free: 12.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/1.035, allocations: 0 / 1.037 GB, free: 12.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007658/1.036, allocations: 200 kB / 1.037 GB, free: 12.4 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 (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.0003157/1.036, allocations: 135.6 kB / 1.037 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002792/1.039, allocations: 1.746 MB / 1.039 GB, free: 10.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.039, allocations: 0 / 1.039 GB, free: 10.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/1.039, allocations: 181.2 kB / 1.039 GB, free: 10.15 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/1.04, allocations: 129.6 kB / 1.039 GB, free: 10.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.041, allocations: 0.7032 MB / 1.04 GB, free: 9.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/1.042, allocations: 0.7764 MB / 1.041 GB, free: 8.445 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001599/1.042, allocations: 42.97 kB / 1.041 GB, free: 8.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/1.042, allocations: 35.44 kB / 1.041 GB, free: 8.375 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/1.042, allocations: 0 / 1.041 GB, free: 8.375 MB / 0.795 GB Notification: Performance of Templates: time 0.02482/1.067, allocations: 11.35 MB / 1.052 GB, free: 13.18 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches