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.001349/0.001349, allocations: 112 kB / 16.41 MB, free: 5.91 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.001433/0.001433, allocations: 189 kB / 17.34 MB, free: 5.543 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.758/2.758, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.185, allocations: 151.6 MB / 1.167 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002922/1.187, allocations: 1.169 MB / 1.168 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003372/1.191, allocations: 2.172 MB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/1.191, allocations: 4 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.044e-05/1.191, allocations: 27.67 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/1.192, allocations: 95.2 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/1.195, allocations: 1.399 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001805/1.197, allocations: 1.287 MB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/1.197, allocations: 24.73 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008816/1.198, allocations: 487.2 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/1.199, allocations: 438.8 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004325/1.199, allocations: 104 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/1.2, allocations: 116 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/1.2, allocations: 63.75 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006428/1.201, allocations: 391 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/1.202, allocations: 0.9666 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.202, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.522e-06/1.202, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.202, allocations: 4 kB / 1.176 GB, free: 11.09 MB / 0.9044 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.001372/1.203, allocations: 1.176 MB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.203, allocations: 12.92 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/1.203, allocations: 72.73 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/1.203, allocations: 216.6 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/1.203, allocations: 36.36 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.204, allocations: 68.36 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/1.204, allocations: 217.4 kB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.204, allocations: 192 / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.204, allocations: 15.92 kB / 1.178 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.204, allocations: 4 kB / 1.178 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/1.204, allocations: 71.72 kB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/1.205, allocations: 0.8367 MB / 1.178 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/1.205, allocations: 331.2 kB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/1.205, allocations: 136.9 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/1.205, allocations: 19.86 kB / 1.179 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/1.206, allocations: 462.7 kB / 1.179 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/1.206, allocations: 0 / 1.179 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.001021/1.207, allocations: 0.5656 MB / 1.18 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/1.207, allocations: 435.2 kB / 1.18 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/1.208, allocations: 292.4 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.208, allocations: 69.7 kB / 1.181 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/1.208, allocations: 165.3 kB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/1.208, allocations: 99.31 kB / 1.181 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/1.208, allocations: 274.1 kB / 1.181 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.209, allocations: 358.7 kB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/1.209, allocations: 417.3 kB / 1.182 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.211, allocations: 0.7067 MB / 1.183 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.212, allocations: 1.191 MB / 1.184 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.212, allocations: 7.938 kB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002705/1.215, allocations: 1.721 MB / 1.185 GB, free: 4 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/1.215, allocations: 488 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.215, allocations: 8 kB / 1.186 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/1.215, allocations: 20.16 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/1.215, allocations: 35.86 kB / 1.186 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.215, allocations: 19.92 kB / 1.186 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.217, allocations: 399.2 kB / 1.186 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/1.217, allocations: 99.92 kB / 1.187 GB, free: 14.87 MB / 0.92 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.0003581/1.218, allocations: 221.6 kB / 1.187 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.218, allocations: 47.69 kB / 1.187 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/1.218, allocations: 34.14 kB / 1.187 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.218, allocations: 7.938 kB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.218, allocations: 4 kB / 1.187 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.218, allocations: 116.9 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/1.218, allocations: 19.98 kB / 1.187 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.218, allocations: 12 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.218, allocations: 55.88 kB / 1.187 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00119/1.219, allocations: 1.561 MB / 1.189 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001226/1.221, allocations: 1.633 MB / 1.19 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002435/1.221, allocations: 159.8 kB / 1.19 GB, free: 10.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001929/1.221, allocations: 187.1 kB / 1.19 GB, free: 10.76 MB / 0.92 GB Notification: Performance of Backend: time 9.61e-07/1.221, allocations: 0 / 1.19 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00333/1.225, allocations: 1.729 MB / 1.192 GB, free: 8.84 MB / 0.92 GB Notification: Performance of SimCode: time 0.001392/1.226, allocations: 1.003 MB / 1.193 GB, free: 7.793 MB / 0.92 GB Notification: Performance of Templates: time 0.01979/1.246, allocations: 12.03 MB / 1.205 GB, free: 11.93 MB / 0.9356 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=480 -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/jenkins1/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