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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00126/0.00126, allocations: 114 kB / 16.41 MB, free: 6.379 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.00124/0.00124, allocations: 185.8 kB / 17.33 MB, free: 5.852 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.493/1.493, 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 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 63.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9309/0.9325, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001966/0.9345, allocations: 0.7211 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.936, allocations: 1.139 MB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.9361, allocations: 1.125 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.9361, allocations: 4.547 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.9362, allocations: 12.05 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.9367, allocations: 132.8 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.9369, allocations: 133.4 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.937, allocations: 11.55 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.9371, allocations: 48.5 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.9373, allocations: 46.62 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.9373, allocations: 12.34 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.9374, allocations: 26.98 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.9374, allocations: 11.22 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.9375, allocations: 41.23 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.9378, allocations: 130.5 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9378, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9378, allocations: 0.9062 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.9378, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 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.0004726/0.9383, allocations: 397.1 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.9383, allocations: 9.156 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.9384, allocations: 5.703 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.9385, allocations: 187.5 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.9385, allocations: 7.453 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.9385, allocations: 7.031 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.9386, allocations: 44.73 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.9387, allocations: 192 / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.9387, allocations: 9.203 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9387, allocations: 1.25 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.9387, allocations: 15.95 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.9392, allocations: 323.3 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.9392, allocations: 38.72 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.9393, allocations: 9.562 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.9393, allocations: 1.828 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.9394, allocations: 67.94 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.9394, allocations: 0 / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.9397, allocations: 75.89 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.9397, allocations: 56.06 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.9398, allocations: 130.4 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.9398, allocations: 31.95 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.9399, allocations: 93.48 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.9399, allocations: 10.17 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.94, allocations: 30.16 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.94, allocations: 318.9 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.9401, allocations: 38.97 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.9402, allocations: 56.12 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.9403, allocations: 90.89 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9404, allocations: 3.938 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002812/0.9406, allocations: 166 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.9407, allocations: 35.39 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9407, allocations: 5.562 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.9407, allocations: 0.75 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.9408, allocations: 3.109 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9408, allocations: 2.359 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.941, allocations: 31.84 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.941, allocations: 6.672 kB / 1.093 GB, free: 1.879 MB / 0.8575 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 6.806e-05/0.9411, allocations: 124.2 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.9411, allocations: 7.203 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.9412, allocations: 6.078 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.9412, allocations: 1.406 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9412, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.9412, allocations: 83.94 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.9412, allocations: 4.906 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.9412, allocations: 1.641 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.9413, allocations: 7.422 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001148/0.9414, allocations: 141.7 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001202/0.9415, allocations: 245.5 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.688e-05/0.9416, allocations: 13.73 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.9416, allocations: 99.39 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/0.9416, allocations: 0 / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.9422, allocations: 206.4 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004756/0.9427, allocations: 0.6061 MB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of Templates: time 0.00463/0.9473, allocations: 1.385 MB / 1.096 GB, free: 312 kB / 0.8575 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