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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.3 MB / 0.7915 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008125/0.0008126, allocations: 91.91 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.602e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8549/1.111, allocations: 150.4 MB / 1.366 GB, free: 3.703 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/1.111, allocations: 71.83 kB / 1.366 GB, free: 3.664 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05345/1.165, allocations: 17.37 MB / 1.383 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.165, allocations: 0 / 1.383 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.658e-05/1.165, allocations: 8 kB / 1.383 GB, free: 4.57 MB / 0.8386 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.001484/1.166, allocations: 0.968 MB / 1.384 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.166, allocations: 12.03 kB / 1.384 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/1.167, allocations: 63.67 kB / 1.384 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/1.167, allocations: 204.2 kB / 1.384 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/1.167, allocations: 35.48 kB / 1.384 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/1.168, allocations: 67.61 kB / 1.384 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.168, allocations: 215.7 kB / 1.384 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.168, allocations: 0 / 1.384 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/1.168, allocations: 11.98 kB / 1.384 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.168, allocations: 4 kB / 1.384 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/1.168, allocations: 61.23 kB / 1.384 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.169, allocations: 0.8422 MB / 1.385 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.169, allocations: 327.6 kB / 1.385 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.17, allocations: 142 kB / 1.386 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/1.17, allocations: 7.938 kB / 1.386 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/1.17, allocations: 458.9 kB / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 2.935e-06/1.17, allocations: 0 / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.0008885/1.171, allocations: 457.5 kB / 1.386 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/1.171, allocations: 430.9 kB / 1.387 GB, free: 72 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/1.172, allocations: 260.6 kB / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/1.172, allocations: 71.33 kB / 1.387 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.172, allocations: 162.4 kB / 1.387 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/1.172, allocations: 88.78 kB / 1.387 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.172, allocations: 35.19 kB / 1.387 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.173, allocations: 352.2 kB / 1.388 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008002/1.173, allocations: 402.6 kB / 1.388 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/1.174, allocations: 0.6868 MB / 1.389 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/1.175, allocations: 0.8183 MB / 1.39 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.175, allocations: 0 / 1.39 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002746/1.178, allocations: 1.685 MB / 1.391 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/1.178, allocations: 475.6 kB / 1.392 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/1.178, allocations: 12 kB / 1.392 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.178, allocations: 16 kB / 1.392 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/1.179, allocations: 35.28 kB / 1.392 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/1.179, allocations: 15.94 kB / 1.392 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/1.181, allocations: 0.5442 MB / 1.392 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/1.181, allocations: 93.67 kB / 1.392 GB, free: 10.77 MB / 0.8542 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 () * 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.0002851/1.181, allocations: 205.2 kB / 1.393 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/1.182, allocations: 47.45 kB / 1.393 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/1.182, allocations: 39.02 kB / 1.393 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.182, allocations: 8 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.182, allocations: 4 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.182, allocations: 11.98 kB / 1.393 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/1.182, allocations: 331.6 kB / 1.393 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.182, allocations: 0 / 1.393 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/1.182, allocations: 27.28 kB / 1.393 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.182, allocations: 8 kB / 1.393 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/1.182, allocations: 15.42 kB / 1.393 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.182, allocations: 7.938 kB / 1.393 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.182, allocations: 7.938 kB / 1.393 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/1.183, allocations: 0.6659 MB / 1.394 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/1.183, allocations: 108.3 kB / 1.394 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/1.183, allocations: 14.67 kB / 1.394 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/1.183, allocations: 15.92 kB / 1.394 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/1.183, allocations: 64.14 kB / 1.394 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/1.184, allocations: 27.55 kB / 1.394 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000202/1.184, allocations: 189.7 kB / 1.394 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.184, allocations: 0 / 1.394 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007144/1.184, allocations: 205.9 kB / 1.394 GB, free: 8.832 MB / 0.8542 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 () * 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.0002389/1.185, allocations: 133.3 kB / 1.394 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.187, allocations: 1.731 MB / 1.396 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.187, allocations: 0 / 1.396 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/1.187, allocations: 180.3 kB / 1.396 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/1.188, allocations: 111.6 kB / 1.396 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/1.188, allocations: 0.4923 MB / 1.397 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/1.189, allocations: 0.7842 MB / 1.398 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001436/1.189, allocations: 46.97 kB / 1.398 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/1.189, allocations: 30.56 kB / 1.398 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of SimCode: time 1.963e-06/1.189, allocations: 4 kB / 1.398 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of Templates: time 0.01838/1.207, allocations: 10.85 MB / 1.408 GB, free: 10.81 MB / 0.8698 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