Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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.001313/0.001313, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 197.6 kB / 16.54 MB, free: 6.684 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.84 kB / 0.9083 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002065/0.2419, allocations: 0.9584 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2435, allocations: 1.437 MB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.2436, allocations: 4 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.2437, allocations: 11.81 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2438, allocations: 55.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2449, allocations: 437.8 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.2454, allocations: 0.5146 MB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2455, allocations: 45.66 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2457, allocations: 183.5 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.2459, allocations: 139.5 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.246, allocations: 48 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2461, allocations: 67.98 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.2461, allocations: 43.78 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2463, allocations: 167.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2468, allocations: 490.9 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2468, allocations: 4 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2468, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2468, allocations: 0 / 1.068 GB, free: 9.902 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007398/0.2476, allocations: 0.6339 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2476, allocations: 8.031 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.2476, allocations: 46.67 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.2477, allocations: 24.75 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2479, allocations: 219 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.2479, allocations: 20.36 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.248, allocations: 24.38 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2482, allocations: 127.4 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2482, allocations: 3.938 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2482, allocations: 0 / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2482, allocations: 4 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2483, allocations: 55.91 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.2492, allocations: 0.8795 MB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2494, allocations: 114.4 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.2494, allocations: 59.48 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2495, allocations: 4 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.2497, allocations: 174.5 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.2497, allocations: 4 kB / 1.07 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000423/0.2502, allocations: 222 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.2502, allocations: 144.4 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.2505, allocations: 240.8 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.2505, allocations: 37.7 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2506, allocations: 132.5 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2507, allocations: 27.61 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2509, allocations: 93.66 kB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.251, allocations: 334.8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.2513, allocations: 144.2 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.2516, allocations: 218.7 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.252, allocations: 372.9 kB / 1.072 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.252, allocations: 0 / 1.072 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008668/0.2529, allocations: 0.5545 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.253, allocations: 140.2 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.253, allocations: 7.938 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.253, allocations: 8.25 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.2531, allocations: 15.92 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2531, allocations: 4 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.2538, allocations: 115.6 kB / 1.073 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.2539, allocations: 31.98 kB / 1.073 GB, free: 4.223 MB / 0.8262 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.0001444/0.254, allocations: 146 kB / 1.073 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.2541, allocations: 31.62 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.2541, allocations: 21.25 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2541, allocations: 0 / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2541, allocations: 4 kB / 1.073 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2541, allocations: 7.922 kB / 1.073 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2544, allocations: 261.5 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2544, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.2544, allocations: 8 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2544, allocations: 0 / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2544, allocations: 11.98 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2545, allocations: 4 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2545, allocations: 3.938 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.2547, allocations: 215.3 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.2548, allocations: 100.9 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.2548, allocations: 8 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.2549, allocations: 3.984 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.2549, allocations: 19.92 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.255, allocations: 4 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001414/0.2551, allocations: 172.5 kB / 1.074 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2551, allocations: 3.938 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003166/0.2554, allocations: 68 kB / 1.074 GB, free: 3.039 MB / 0.8262 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.0005581/0.256, allocations: 0.7573 MB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.2566, allocations: 0.5326 MB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2567, allocations: 0 / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2568, allocations: 71.91 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2572, allocations: 60.77 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.2607, allocations: 3.005 MB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.261, allocations: 0.732 MB / 1.079 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.27e-05/0.2611, allocations: 17.55 kB / 1.079 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.2612, allocations: 55.42 kB / 1.079 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2612, allocations: 0 / 1.079 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.2828, allocations: 6.373 MB / 1.086 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.257, allocations: 6.188 kB / 1.086 GB, free: 7.305 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches