Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_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_11_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.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 152 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.001478/0.001478, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.557/2.557, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 75.45 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002202/0.2473, allocations: 0.9467 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2491, allocations: 1.456 MB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.2492, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.2493, allocations: 11.81 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.2494, allocations: 43.58 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.2504, allocations: 443.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.2509, allocations: 0.5108 MB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.251, allocations: 49.64 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.2512, allocations: 179.6 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2514, allocations: 143.5 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.999e-05/0.2515, allocations: 48 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.2516, allocations: 71.97 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.2517, allocations: 35.8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2518, allocations: 167.5 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.2523, allocations: 0.4911 MB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2523, allocations: 0 / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2523, allocations: 0 / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2524, allocations: 0 / 1.069 GB, free: 9.566 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.0007548/0.2531, allocations: 0.6317 MB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2532, allocations: 8.031 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.2532, allocations: 42.73 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.2533, allocations: 28.75 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2535, allocations: 223 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2535, allocations: 20.36 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.2536, allocations: 24.38 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2538, allocations: 119.5 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2538, allocations: 3.938 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2538, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2538, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.2539, allocations: 51.91 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.2548, allocations: 0.8834 MB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.255, allocations: 114.4 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.2551, allocations: 63.48 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.2551, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.2554, allocations: 178.5 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.2554, allocations: 4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004173/0.2558, allocations: 221.3 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.2559, allocations: 136.5 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.2561, allocations: 244.8 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.2562, allocations: 37.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2563, allocations: 128.5 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2563, allocations: 31.59 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.2565, allocations: 97.59 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2566, allocations: 334.8 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.2569, allocations: 148.1 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2573, allocations: 223.9 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.2577, allocations: 364.9 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2577, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008609/0.2586, allocations: 0.5514 MB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/0.2587, allocations: 140.8 kB / 1.073 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2587, allocations: 4 kB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2587, allocations: 4.25 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.2588, allocations: 19.98 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2588, allocations: 11.92 kB / 1.073 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.2594, allocations: 115.6 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.2595, allocations: 23.98 kB / 1.074 GB, free: 3.891 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.0001459/0.2597, allocations: 149.8 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.2597, allocations: 31.64 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2597, allocations: 21.28 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2598, allocations: 7.984 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2598, allocations: 0 / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2598, allocations: 7.922 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.26, allocations: 257.5 kB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.26, allocations: 4 kB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.2601, allocations: 8 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2601, allocations: 4 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2601, allocations: 3.984 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2601, allocations: 4 kB / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2601, allocations: 0 / 1.074 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.2604, allocations: 229.2 kB / 1.074 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.2604, allocations: 92.91 kB / 1.074 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.2605, allocations: 8 kB / 1.074 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.2605, allocations: 3.984 kB / 1.074 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.2606, allocations: 23.92 kB / 1.074 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2606, allocations: 4 kB / 1.074 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001401/0.2607, allocations: 172.5 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2608, allocations: 3.938 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003005/0.2611, allocations: 68 kB / 1.075 GB, free: 2.703 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.0005815/0.2616, allocations: 0.7553 MB / 1.075 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.2624, allocations: 0.5364 MB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2624, allocations: 0 / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2625, allocations: 71.91 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.2629, allocations: 56.83 kB / 1.076 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.2665, allocations: 3.007 MB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2668, allocations: 0.732 MB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.116e-05/0.2669, allocations: 25.47 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.267, allocations: 59.41 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.267, allocations: 0 / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.776/3.043, allocations: 6.349 MB / 1.086 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.955/13, allocations: 0 / 1.086 GB, free: 6.969 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches