Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008313/0.008313, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001519/0.001519, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9433/0.9446, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001978/0.9467, allocations: 0.7191 MB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.9482, allocations: 1.138 MB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.9482, allocations: 0 / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.9483, allocations: 7.922 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.9484, allocations: 11.88 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.9489, allocations: 138.8 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.9491, allocations: 131.8 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.9492, allocations: 8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.9493, allocations: 47.91 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.9494, allocations: 43.81 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.9495, allocations: 16 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.9495, allocations: 31.98 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.9496, allocations: 11.94 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.9497, allocations: 39.84 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.9499, allocations: 128.2 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9499, allocations: 0 / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.706e-06/0.9499, allocations: 0 / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9499, allocations: 4 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005595/0.9505, allocations: 393 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9505, allocations: 12.92 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.9506, allocations: 8.891 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.9507, allocations: 192.1 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.9508, allocations: 4.375 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.9508, allocations: 4.375 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.9509, allocations: 42.25 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9509, allocations: 192 / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9509, allocations: 3.938 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.951, allocations: 4 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.951, allocations: 15.98 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.9515, allocations: 328.8 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.009e-05/0.9515, allocations: 34.52 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.9516, allocations: 8.922 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9516, allocations: 3.984 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.9518, allocations: 67.34 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9518, allocations: 4 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002365/0.952, allocations: 77.69 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.9521, allocations: 55.34 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.9522, allocations: 133.7 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.9522, allocations: 25.7 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.9523, allocations: 92.12 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.9523, allocations: 7.953 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.9524, allocations: 29.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9525, allocations: 322.8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.9526, allocations: 39.98 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.9527, allocations: 54.56 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.9529, allocations: 96.14 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9529, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002745/0.9532, allocations: 167.2 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.9532, allocations: 37.69 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9532, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9532, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.9533, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9533, allocations: 7.938 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.9535, allocations: 31.91 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.9535, allocations: 7.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001041/0.9536, allocations: 125.8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.9537, allocations: 7.953 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.9537, allocations: 3.906 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9537, allocations: 4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9537, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9537, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.9539, allocations: 181.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9539, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.9539, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.9539, allocations: 4 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.9539, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9539, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.9539, allocations: 0 / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.954, allocations: 100.9 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.9541, allocations: 77.11 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.9541, allocations: 8.062 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.9541, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.9542, allocations: 7.984 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9542, allocations: 4 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.9543, allocations: 103.2 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9543, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000221/0.9545, allocations: 16 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001787/0.9547, allocations: 101.8 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9549, allocations: 135.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9549, allocations: 128 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.955, allocations: 23.98 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.9552, allocations: 19.92 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.9557, allocations: 138.4 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.9561, allocations: 0.6867 MB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.9561, allocations: 7.938 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.9562, allocations: 15.44 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.9562, allocations: 0 / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.00501/0.9612, allocations: 1.35 MB / 1.174 GB, free: 11.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches