Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001349/0.001349, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001491/0.001491, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 71.98 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3222, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002198/0.3245, allocations: 0.7347 MB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3259, allocations: 1.136 MB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.326, allocations: 0 / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.3261, allocations: 7.938 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.3262, allocations: 3.938 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.3267, allocations: 135.6 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3269, allocations: 131.9 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3271, allocations: 15.97 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3272, allocations: 43.81 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3273, allocations: 39.83 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3273, allocations: 16 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.409e-05/0.3274, allocations: 31.97 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.3274, allocations: 11.98 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.228e-05/0.3275, allocations: 43.8 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.3277, allocations: 127.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3277, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3278, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3278, allocations: 0 / 1.029 GB, free: 15.54 MB / 0.8106 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.0005774/0.3283, allocations: 400.9 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3284, allocations: 12.02 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.3285, allocations: 8.938 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3286, allocations: 176.3 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3286, allocations: 384 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3287, allocations: 12.36 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3288, allocations: 38.25 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3288, allocations: 192 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3288, allocations: 11.88 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3288, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.3289, allocations: 15.98 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3294, allocations: 332.8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3295, allocations: 34.52 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.3295, allocations: 8.922 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3295, allocations: 3.938 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3297, allocations: 71.28 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3297, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.3299, allocations: 69.69 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3299, allocations: 51.41 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3301, allocations: 133.8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3301, allocations: 29.64 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.3302, allocations: 92.05 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3302, allocations: 7.906 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3303, allocations: 29.7 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3304, allocations: 322.8 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.3305, allocations: 39.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.3306, allocations: 54.55 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.3307, allocations: 96.09 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3307, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002633/0.331, allocations: 171.2 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.331, allocations: 33.7 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.331, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.331, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.3311, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3311, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3313, allocations: 35.94 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3313, allocations: 7.984 kB / 1.031 GB, free: 13.01 MB / 0.8106 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.243e-05/0.3314, allocations: 125.8 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3315, allocations: 4 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3315, allocations: 3.906 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3315, allocations: 4 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3315, allocations: 0 / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3315, allocations: 3.984 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3317, allocations: 173.6 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3317, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.3317, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3317, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3317, allocations: 3.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3317, allocations: 3.984 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3317, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3319, allocations: 93.19 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.3319, allocations: 85.02 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3319, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.3319, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.332, allocations: 7.984 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.332, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.332, allocations: 99.27 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3321, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002171/0.3323, allocations: 16 kB / 1.032 GB, free: 12.28 MB / 0.8106 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.000158/0.3324, allocations: 111.2 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3327, allocations: 135.3 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3327, allocations: 4.062 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.3327, allocations: 20 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.333, allocations: 25.41 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.3333, allocations: 149.2 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3335, allocations: 0.6807 MB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.3336, allocations: 4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.3336, allocations: 15.44 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3336, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.004163/0.3378, allocations: 1.34 MB / 1.034 GB, free: 9.754 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches