Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004868/0.004868, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001083/0.001083, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.573/2.573, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002711/0.2592, allocations: 0.9767 MB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2613, allocations: 1.432 MB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.2614, allocations: 4 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.2615, allocations: 19.73 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.2616, allocations: 59.56 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2627, allocations: 439.9 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00054/0.2632, allocations: 0.5264 MB / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2634, allocations: 41.67 kB / 1.17 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.2636, allocations: 179.6 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.2639, allocations: 171.3 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.264, allocations: 48 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2642, allocations: 59.98 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.2642, allocations: 39.84 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.2644, allocations: 167.4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.265, allocations: 0.4909 MB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.265, allocations: 0 / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.893e-06/0.265, allocations: 0 / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.265, allocations: 0 / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008867/0.2659, allocations: 0.6455 MB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2659, allocations: 12.03 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.266, allocations: 38.73 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.2661, allocations: 32.8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.2663, allocations: 231.1 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.2663, allocations: 16.38 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.2664, allocations: 16.38 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.2666, allocations: 125.6 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2666, allocations: 3.938 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2666, allocations: 8 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2667, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2668, allocations: 55.91 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009334/0.2677, allocations: 0.8718 MB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2679, allocations: 126.4 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.268, allocations: 51.48 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.268, allocations: 0 / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.2682, allocations: 176.4 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.2682, allocations: 0 / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0004661/0.2687, allocations: 229.5 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.2688, allocations: 132.5 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.269, allocations: 244.9 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.2691, allocations: 41.53 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2692, allocations: 128.5 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.2692, allocations: 39.73 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.2694, allocations: 93.59 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2695, allocations: 334.8 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2698, allocations: 144.2 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.2701, allocations: 226.7 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.2705, allocations: 364.9 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2706, allocations: 4 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008684/0.2714, allocations: 0.5507 MB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.2715, allocations: 135 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2715, allocations: 8 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2716, allocations: 4 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.2716, allocations: 11.98 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2716, allocations: 7.938 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006332/0.2723, allocations: 115.7 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.2724, allocations: 31.97 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001388/0.2725, allocations: 145.8 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.2725, allocations: 23.86 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.2726, allocations: 21.23 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2726, allocations: 4 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2726, allocations: 3.938 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2726, allocations: 7.938 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.2728, allocations: 265.4 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2729, allocations: 3.938 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.2729, allocations: 11.98 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2729, allocations: 4 kB / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2729, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2729, allocations: 8 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2729, allocations: 0.9375 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2732, allocations: 219.4 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.2733, allocations: 104.9 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2733, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.2734, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2734, allocations: 19.92 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2734, allocations: 15.97 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000144/0.2736, allocations: 168.5 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2736, allocations: 0 / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003307/0.2739, allocations: 67.98 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005376/0.2745, allocations: 0.7618 MB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006368/0.2751, allocations: 0.5247 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2751, allocations: 4 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2752, allocations: 67.91 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.2757, allocations: 75.08 kB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.2793, allocations: 3.013 MB / 1.181 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2796, allocations: 0.7281 MB / 1.182 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.011e-05/0.2797, allocations: 17.55 kB / 1.182 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.2797, allocations: 63.41 kB / 1.182 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.2798, allocations: 0 / 1.182 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3014, allocations: 6.403 MB / 1.188 GB, free: 12 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.951, allocations: 21.98 kB / 1.188 GB, free: 16 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches