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.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: "" <> 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.0009132/0.0009131, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006278/0.006278, allocations: 170 kB / 16.26 MB, free: 6.613 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8.812 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009079/0.2343, allocations: 0.6764 MB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2358, allocations: 1.49 MB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.2359, allocations: 4 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.2359, allocations: 15.86 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.236, allocations: 35.7 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.2368, allocations: 421 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2372, allocations: 427.1 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2373, allocations: 41.67 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2374, allocations: 143.5 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2375, allocations: 123.5 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.2376, allocations: 16 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.2377, allocations: 39.98 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.2377, allocations: 23.86 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2379, allocations: 161.1 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.2382, allocations: 466.8 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2382, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2382, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2382, allocations: 0 / 1.063 GB, free: 0.7891 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005296/0.2388, allocations: 0.5678 MB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2388, allocations: 11.97 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2388, allocations: 42.73 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.2389, allocations: 28.75 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2391, allocations: 230.9 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2391, allocations: 16.36 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.2392, allocations: 24.38 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.2393, allocations: 113.6 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2394, allocations: 3.938 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2394, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2394, allocations: 8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.2395, allocations: 51.91 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.2402, allocations: 0.8718 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2404, allocations: 122.4 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.2404, allocations: 51.48 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2405, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.2407, allocations: 188.7 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.2407, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003676/0.241, allocations: 221.3 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.2411, allocations: 136.5 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2413, allocations: 244.8 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.2414, allocations: 37.7 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.2415, allocations: 132.4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2415, allocations: 31.69 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.2416, allocations: 37.7 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.2417, allocations: 338.8 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.2419, allocations: 140.2 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2422, allocations: 227.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.2426, allocations: 365 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2426, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007693/0.2434, allocations: 0.5506 MB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.2434, allocations: 138.8 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2435, allocations: 8.188 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2435, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.2435, allocations: 19.92 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2436, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.2442, allocations: 161.5 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.2443, allocations: 31.92 kB / 1.068 GB, free: 11.19 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.0001247/0.2444, allocations: 145.8 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2445, allocations: 27.7 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.2445, allocations: 21.25 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2445, allocations: 7.938 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.2445, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2445, allocations: 7.922 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2447, allocations: 257.5 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2447, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.2448, allocations: 11.94 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2448, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2448, allocations: 3.984 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2448, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2448, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.2451, allocations: 224.1 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.2451, allocations: 96.91 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.2451, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.2452, allocations: 7.984 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2452, allocations: 23.92 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2453, allocations: 8 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001204/0.2454, allocations: 168.5 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2454, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002849/0.2457, allocations: 67.91 kB / 1.069 GB, free: 10.01 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.0004606/0.2461, allocations: 0.7656 MB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.2467, allocations: 0.5248 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2467, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.2468, allocations: 76.34 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.2472, allocations: 65.8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.2504, allocations: 3.029 MB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2506, allocations: 0.7284 MB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.2507, allocations: 17.55 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.2508, allocations: 59.41 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2508, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9397/1.19, allocations: 5.978 MB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.191, allocations: 214 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.279, allocations: 0 / 1.08 GB, free: 14.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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