Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 183 kB / 16.92 MB, free: 6.926 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 12 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7574, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009679/0.7584, allocations: 455.1 kB / 0.9562 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.7598, allocations: 1.128 MB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.7598, allocations: 1.375 kB / 0.9573 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.7598, allocations: 3.938 kB / 0.9573 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/0.7599, allocations: 13.42 kB / 0.9573 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.7604, allocations: 120.3 kB / 0.9574 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.7605, allocations: 108.8 kB / 0.9575 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.7606, allocations: 10.38 kB / 0.9575 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.7607, allocations: 36.59 kB / 0.9576 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.7608, allocations: 29.61 kB / 0.9576 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.7608, allocations: 7.688 kB / 0.9576 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.7609, allocations: 23.58 kB / 0.9576 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.7609, allocations: 5.344 kB / 0.9576 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.826e-05/0.761, allocations: 61.33 kB / 0.9577 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.7611, allocations: 96.78 kB / 0.9578 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7612, allocations: 0 / 0.9578 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7612, allocations: 0 / 0.9578 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7612, allocations: 3.938 kB / 0.9578 GB, free: 6.207 MB / 0.7169 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.000411/0.7616, allocations: 378.2 kB / 0.9581 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7616, allocations: 9.938 kB / 0.9581 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.7617, allocations: 9.609 kB / 0.9582 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.7618, allocations: 177.2 kB / 0.9583 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7618, allocations: 7.312 kB / 0.9583 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.7619, allocations: 9.953 kB / 0.9583 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.762, allocations: 44.69 kB / 0.9584 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.762, allocations: 1.844 kB / 0.9584 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.762, allocations: 3.938 kB / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.762, allocations: 0 / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.762, allocations: 15.45 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.7624, allocations: 326.5 kB / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.7625, allocations: 42.45 kB / 0.9588 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.7625, allocations: 8.516 kB / 0.9588 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.7625, allocations: 0 / 0.9588 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.7627, allocations: 73.92 kB / 0.9588 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7627, allocations: 0 / 0.9588 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.7629, allocations: 72.56 kB / 0.9589 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.7629, allocations: 57.19 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.763, allocations: 131.7 kB / 0.9591 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.763, allocations: 27.05 kB / 0.9591 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.7631, allocations: 88.14 kB / 0.9592 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.7631, allocations: 5.094 kB / 0.9592 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.7631, allocations: 22.89 kB / 0.9592 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.7632, allocations: 312 kB / 0.9595 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.7633, allocations: 37.8 kB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.7634, allocations: 63.17 kB / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.7635, allocations: 91.53 kB / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7635, allocations: 3.938 kB / 0.9597 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002687/0.7638, allocations: 165.3 kB / 0.9599 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.7638, allocations: 38.7 kB / 0.9599 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7638, allocations: 9.281 kB / 0.9599 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.7638, allocations: 1.281 kB / 0.9599 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.7639, allocations: 2.25 kB / 0.9599 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7639, allocations: 4.875 kB / 0.9599 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.7641, allocations: 42.02 kB / 0.96 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.7642, allocations: 5.188 kB / 0.96 GB, free: 4.027 MB / 0.7169 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 7.716e-05/0.7642, allocations: 123 kB / 0.9601 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.7643, allocations: 6.531 kB / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.7643, allocations: 14.42 kB / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7643, allocations: 0 / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7643, allocations: 0 / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7643, allocations: 1.062 kB / 0.9601 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.421e-05/0.7644, allocations: 171.5 kB / 0.9603 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7644, allocations: 3.938 kB / 0.9603 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.7645, allocations: 6.266 kB / 0.9603 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.7645, allocations: 4 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.7645, allocations: 1.719 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7645, allocations: 0 / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7645, allocations: 1.531 kB / 0.9603 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.7646, allocations: 91.59 kB / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.7646, allocations: 85.97 kB / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7646, allocations: 1.375 kB / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.7647, allocations: 0 / 0.9604 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.7647, allocations: 9.844 kB / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.7647, allocations: 1.156 kB / 0.9605 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.7648, allocations: 96.17 kB / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7648, allocations: 0 / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000212/0.765, allocations: 19.78 kB / 0.9606 GB, free: 3.383 MB / 0.7169 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.0001518/0.7651, allocations: 107.6 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.7653, allocations: 133.4 kB / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7654, allocations: 5.531 kB / 0.9608 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.7654, allocations: 22.28 kB / 0.9608 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.7656, allocations: 14.88 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.7659, allocations: 181.6 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.7661, allocations: 0.6918 MB / 0.9617 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.7661, allocations: 10.56 kB / 0.9617 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7661, allocations: 0 / 0.9617 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.002607/0.7687, allocations: 1.144 MB / 0.9628 GB, free: 1.699 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches