Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.00178/0.00178, allocations: 183.1 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 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.4/2.4, allocations: 437 MB / 0.7112 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.88 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8079, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002119/0.8101, allocations: 0.977 MB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.812, allocations: 1.432 MB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.8121, allocations: 0 / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.798e-05/0.8122, allocations: 19.73 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.8124, allocations: 63.56 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.8135, allocations: 450.5 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.8142, allocations: 0.5108 MB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.8143, allocations: 45.66 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.8146, allocations: 179.6 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.8148, allocations: 159.4 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.815, allocations: 52 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.8151, allocations: 64.03 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.8152, allocations: 39.8 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.8154, allocations: 175.4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.8159, allocations: 498.5 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8159, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8159, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.8159, allocations: 0 / 1.172 GB, free: 15.28 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008521/0.8167, allocations: 0.628 MB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8168, allocations: 12.02 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.8169, allocations: 28.75 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.8171, allocations: 226.9 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.8171, allocations: 16.31 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.8172, allocations: 28.36 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.8174, allocations: 124.2 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8174, allocations: 192 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.8174, allocations: 7.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8174, allocations: 3.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.8176, allocations: 55.92 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.8185, allocations: 0.8794 MB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.8186, allocations: 118.4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.8187, allocations: 51.48 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.8187, allocations: 4 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.819, allocations: 174.6 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.819, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0004419/0.8195, allocations: 221.3 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.8196, allocations: 136.5 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.8198, allocations: 240.9 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.8198, allocations: 37.7 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.82, allocations: 132.5 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.82, allocations: 35.55 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.8202, allocations: 93.61 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8203, allocations: 334.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.8206, allocations: 148.1 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.8209, allocations: 224.8 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.8214, allocations: 368.9 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.8214, allocations: 0 / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008916/0.8223, allocations: 0.5584 MB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/0.8224, allocations: 138.8 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8224, allocations: 4 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8224, allocations: 4.938 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.8225, allocations: 8 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8225, allocations: 15.86 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.8231, allocations: 115.9 kB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.8232, allocations: 27.98 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001473/0.8233, allocations: 138.4 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.8234, allocations: 31.64 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.8234, allocations: 21.25 kB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8234, allocations: 0 / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8235, allocations: 4 kB / 1.177 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.8235, allocations: 11.91 kB / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.8237, allocations: 257.5 kB / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8237, allocations: 0 / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.8237, allocations: 8 kB / 1.177 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8238, allocations: 8 kB / 1.177 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8238, allocations: 7.984 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8238, allocations: 4 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8238, allocations: 4 kB / 1.177 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.8241, allocations: 223.2 kB / 1.178 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.8241, allocations: 96.86 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.8242, allocations: 4 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.8242, allocations: 3.984 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.8243, allocations: 23.92 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.8243, allocations: 8 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001494/0.8245, allocations: 168.5 kB / 1.178 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8245, allocations: 0 / 1.178 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003375/0.8248, allocations: 67.94 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000151/0.825, allocations: 111.2 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006715/0.8257, allocations: 0.5287 MB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8257, allocations: 0 / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.8258, allocations: 83.91 kB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.8263, allocations: 60.88 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.8269, allocations: 380.4 kB / 1.179 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.8272, allocations: 0.7281 MB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.8272, allocations: 23.44 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8272, allocations: 3.938 kB / 1.18 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of Templates: time 0.005747/0.833, allocations: 3.509 MB / 1.183 GB, free: 2.98 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches