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.001562/0.001562, allocations: 107.9 kB / 16.38 MB, free: 6.453 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.001981/0.001981, allocations: 189.5 kB / 17.31 MB, free: 5.812 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 442.6 MB / 0.7166 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001516, allocations: 60.95 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3364, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002384/0.3388, allocations: 1.182 MB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.3417, allocations: 2.169 MB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3418, allocations: 3.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.645e-05/0.3419, allocations: 23.69 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3421, allocations: 83.27 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.3454, allocations: 1.399 MB / 1.032 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.3474, allocations: 1.295 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3476, allocations: 16.75 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3486, allocations: 479.2 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.3493, allocations: 446.8 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.3495, allocations: 104 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.3499, allocations: 120 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.3499, allocations: 51.78 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.3504, allocations: 399 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009046/0.3513, allocations: 0.9662 MB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3513, allocations: 0 / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3513, allocations: 0 / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3514, allocations: 0 / 1.035 GB, free: 9.387 MB / 0.8106 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.001357/0.3527, allocations: 1.164 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3528, allocations: 12.03 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.353, allocations: 68.55 kB / 1.037 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3532, allocations: 228.3 kB / 1.037 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.3532, allocations: 40.36 kB / 1.037 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3534, allocations: 60.38 kB / 1.037 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.3537, allocations: 213.1 kB / 1.037 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3537, allocations: 4.188 kB / 1.037 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3537, allocations: 11.92 kB / 1.037 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3537, allocations: 3.984 kB / 1.037 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3539, allocations: 75.72 kB / 1.037 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.3547, allocations: 0.8484 MB / 1.038 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.355, allocations: 327.3 kB / 1.038 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3551, allocations: 140.8 kB / 1.038 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3552, allocations: 7.938 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/0.3557, allocations: 466.6 kB / 1.039 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3557, allocations: 0 / 1.039 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45): time 0.0009517/0.3566, allocations: 0.5692 MB / 1.039 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.3568, allocations: 435.2 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.3571, allocations: 292.3 kB / 1.04 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.3572, allocations: 69.69 kB / 1.04 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3574, allocations: 161.2 kB / 1.04 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.3574, allocations: 94.94 kB / 1.04 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.3579, allocations: 274 kB / 1.041 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.358, allocations: 354.8 kB / 1.041 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00079/0.3588, allocations: 421.3 kB / 1.041 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.3598, allocations: 0.695 MB / 1.042 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.361, allocations: 1.199 MB / 1.043 GB, free: 164 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.3611, allocations: 7.938 kB / 1.043 GB, free: 156 kB / 0.8106 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002526/0.3636, allocations: 1.72 MB / 1.045 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.3639, allocations: 481.4 kB / 1.045 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3639, allocations: 13.09 kB / 1.045 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.3639, allocations: 12 kB / 1.045 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.364, allocations: 31.86 kB / 1.045 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.364, allocations: 23.92 kB / 1.045 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.3661, allocations: 403.1 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.3662, allocations: 95.92 kB / 1.046 GB, free: 13.2 MB / 0.8262 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.0003182/0.3666, allocations: 225.5 kB / 1.046 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.3666, allocations: 47.45 kB / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.3667, allocations: 38.14 kB / 1.046 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3667, allocations: 7.984 kB / 1.046 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3667, allocations: 4 kB / 1.046 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.3668, allocations: 112.6 kB / 1.046 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.3669, allocations: 15.98 kB / 1.046 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.367, allocations: 11.98 kB / 1.046 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.3671, allocations: 55.89 kB / 1.046 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009298/0.368, allocations: 1.572 MB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009522/0.369, allocations: 1.609 MB / 1.05 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002251/0.3692, allocations: 160.4 kB / 1.05 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000158/0.3694, allocations: 191.1 kB / 1.05 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of Backend: time 8.22e-07/0.3694, allocations: 0 / 1.05 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.3725, allocations: 1.732 MB / 1.052 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of SimCode: time 0.001294/0.3738, allocations: 0.9931 MB / 1.053 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of Templates: time 0.01776/0.3916, allocations: 12.01 MB / 1.064 GB, free: 10.28 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches