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.001808/0.001808, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.002163/0.002163, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.199/2.199, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 66.31 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2607, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.003023/0.2638, allocations: 0.7249 MB / 0.951 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.2658, allocations: 1.13 MB / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.2659, allocations: 0 / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.266, allocations: 3.938 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2661, allocations: 3.938 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2667, allocations: 143.5 kB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.267, allocations: 123.8 kB / 0.9524 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2671, allocations: 16 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2672, allocations: 43.84 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2673, allocations: 35.89 kB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.2674, allocations: 16 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.2675, allocations: 23.98 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2675, allocations: 15.92 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.2676, allocations: 39.86 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.2679, allocations: 131.7 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2679, allocations: 0 / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2679, allocations: 0 / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2679, allocations: 4 kB / 0.9527 GB, free: 6.398 MB / 0.7325 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.0006898/0.2686, allocations: 393.2 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2687, allocations: 8.031 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.2688, allocations: 8.844 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.269, allocations: 184.2 kB / 0.9532 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.269, allocations: 4.375 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.269, allocations: 8.375 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.2692, allocations: 46.23 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2692, allocations: 8.172 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2692, allocations: 11.88 kB / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2693, allocations: 0 / 0.9533 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.2693, allocations: 12 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.2699, allocations: 328.7 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.2701, allocations: 30.52 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.2701, allocations: 20.84 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.2701, allocations: 4 kB / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.2704, allocations: 59.39 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.2704, allocations: 0 / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.2707, allocations: 77.53 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.2707, allocations: 55.41 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.2709, allocations: 129.8 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.271, allocations: 29.7 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2711, allocations: 96.14 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2711, allocations: 7.812 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2712, allocations: 37.69 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2714, allocations: 310.8 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.2715, allocations: 39.98 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2716, allocations: 62.53 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.2718, allocations: 96.16 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2718, allocations: 3.984 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003029/0.2721, allocations: 159.3 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.2722, allocations: 33.7 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2722, allocations: 4 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2722, allocations: 0 / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.2723, allocations: 4 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2723, allocations: 4.062 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.2725, allocations: 31.86 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2725, allocations: 4 kB / 0.9549 GB, free: 3.863 MB / 0.7325 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.0001741/0.2727, allocations: 127.7 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.2727, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.2728, allocations: 15.89 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2728, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2728, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2728, allocations: 4 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.273, allocations: 177.6 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.273, allocations: 7.938 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.273, allocations: 3.984 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.273, allocations: 3.938 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.273, allocations: 0 / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.273, allocations: 4 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.273, allocations: 0 / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.2732, allocations: 97.14 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.2733, allocations: 93.03 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2733, allocations: 0 / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.2733, allocations: 0 / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.2733, allocations: 4 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2734, allocations: 4 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.527e-05/0.2734, allocations: 95.27 kB / 0.9555 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2734, allocations: 0 / 0.9555 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002335/0.2737, allocations: 20 kB / 0.9555 GB, free: 3.121 MB / 0.7325 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.0001948/0.2739, allocations: 111.2 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2741, allocations: 135.3 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2741, allocations: 4 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.2742, allocations: 12 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2744, allocations: 19.64 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.2749, allocations: 176 kB / 0.956 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2752, allocations: 0.6922 MB / 0.9566 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.2752, allocations: 11.44 kB / 0.9566 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2753, allocations: 0 / 0.9566 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of Templates: time 0.002956/0.2782, allocations: 1.151 MB / 0.9578 GB, free: 0.75 MB / 0.7325 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