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.001186/0.001186, allocations: 106.3 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.001318/0.001318, allocations: 185.5 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.355/1.355, 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.485/2.485, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 68.14 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.84, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002022/0.8421, allocations: 0.7233 MB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.8438, allocations: 1.135 MB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.8438, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.8439, allocations: 3.938 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.844, allocations: 19.91 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.8445, allocations: 133.8 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.8447, allocations: 123.8 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.8448, allocations: 11.92 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.8449, allocations: 51.89 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.8451, allocations: 39.83 kB / 1.17 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.8451, allocations: 12 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.8452, allocations: 35.98 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.8452, allocations: 11.94 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.8453, allocations: 39.84 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.8455, allocations: 131.6 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8455, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8455, allocations: 4 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8455, allocations: 0 / 1.17 GB, free: 1.402 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.0005547/0.8461, allocations: 394.7 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8461, allocations: 8.922 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.8462, allocations: 16.94 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.8464, allocations: 176.2 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8464, allocations: 12.34 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.8464, allocations: 4.375 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.8465, allocations: 46.25 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8466, allocations: 192 / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8466, allocations: 3.938 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.8466, allocations: 4 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.8466, allocations: 11.94 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.8471, allocations: 332.8 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.8472, allocations: 34.5 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.8472, allocations: 12.92 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.8473, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.8474, allocations: 63.33 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8474, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002156/0.8477, allocations: 73.69 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.8477, allocations: 51.41 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.8478, allocations: 133.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.8479, allocations: 25.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.848, allocations: 92.12 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.848, allocations: 15.89 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.8481, allocations: 29.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8482, allocations: 318.8 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.8483, allocations: 39.98 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.8484, allocations: 58.55 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.8486, allocations: 92.2 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8486, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002838/0.8489, allocations: 163.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.8489, allocations: 37.7 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8489, allocations: 3.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8489, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.849, allocations: 7.922 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.849, allocations: 7.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.8492, allocations: 27.91 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.8493, allocations: 4 kB / 1.172 GB, free: 14.88 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 9.666e-05/0.8494, allocations: 121.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.8494, allocations: 7.906 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.8494, allocations: 11.89 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8494, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8494, allocations: 4.062 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8494, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.8496, allocations: 169.6 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8496, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.8496, allocations: 7.984 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8496, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.8496, allocations: 4.234 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8496, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8497, allocations: 3.938 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.8498, allocations: 93.05 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.8498, allocations: 85 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.8499, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.8499, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.8499, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.8499, allocations: 8 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.85, allocations: 99.64 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.85, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002262/0.8502, allocations: 20 kB / 1.173 GB, free: 14.14 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.0001545/0.8504, allocations: 107.3 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.8507, allocations: 139.3 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8507, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.8507, allocations: 16.12 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.851, allocations: 24.75 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.8513, allocations: 171.7 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8516, allocations: 0.6807 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.8516, allocations: 19.36 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8516, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of Templates: time 0.002834/0.8545, allocations: 1.158 MB / 1.175 GB, free: 11.77 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/jenkins1/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