Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001934/0.001934, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.002161/0.002161, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 68.31 kB / 0.9088 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2777, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001945/0.2797, allocations: 0.785 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2811, allocations: 1.131 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2811, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.2812, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.2813, allocations: 7.922 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.2817, allocations: 122.2 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2818, allocations: 127.8 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.2819, allocations: 8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.282, allocations: 51.89 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.2821, allocations: 35.78 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2821, allocations: 12 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.2822, allocations: 27.98 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.2822, allocations: 11.98 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.2823, allocations: 39.86 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2824, allocations: 99.78 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2825, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2825, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2825, allocations: 3.984 kB / 1.067 GB, free: 12.11 MB / 0.8262 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.0004776/0.283, allocations: 401.2 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.283, allocations: 8.031 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.283, allocations: 4.938 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2832, allocations: 180.3 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2832, allocations: 8.375 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2832, allocations: 8.375 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.854e-05/0.2833, allocations: 42.19 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2834, allocations: 192 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2834, allocations: 7.938 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2834, allocations: 3.984 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.2834, allocations: 8 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.2838, allocations: 340.7 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.2839, allocations: 38.44 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.284, allocations: 12.92 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.284, allocations: 3.938 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.2841, allocations: 67.3 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2841, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.2843, allocations: 81.61 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.2844, allocations: 55.41 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2845, allocations: 121.8 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2845, allocations: 33.7 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.2846, allocations: 96.03 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.2846, allocations: 3.906 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.2847, allocations: 29.7 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2848, allocations: 318.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.2849, allocations: 39.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.285, allocations: 54.56 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.2851, allocations: 96.14 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2851, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002749/0.2854, allocations: 163.2 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.2855, allocations: 41.75 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2855, allocations: 4 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.2855, allocations: 0 / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.2855, allocations: 4 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2855, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2857, allocations: 23.97 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2858, allocations: 11.98 kB / 1.069 GB, free: 9.578 MB / 0.8262 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.928e-05/0.2859, allocations: 125.8 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.2859, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2859, allocations: 11.84 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2859, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2859, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2859, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2861, allocations: 181.5 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2861, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.2861, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2861, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2861, allocations: 7.875 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2862, allocations: 8 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2862, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2863, allocations: 85.05 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.2863, allocations: 89.02 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2864, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.2864, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.2864, allocations: 4.266 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2864, allocations: 4 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.2865, allocations: 107.2 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2865, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002051/0.2867, allocations: 16 kB / 1.069 GB, free: 8.844 MB / 0.8262 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.0001516/0.2869, allocations: 103.2 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.2871, allocations: 143.3 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2871, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.2872, allocations: 19.92 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.2874, allocations: 28.11 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.2877, allocations: 174.6 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.288, allocations: 0.6885 MB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.288, allocations: 15.44 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.288, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of Templates: time 0.002651/0.2907, allocations: 1.15 MB / 1.072 GB, free: 6.473 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches