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.004052/0.004052, allocations: 101.5 kB / 15.73 MB, free: 6.059 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.001151/0.001151, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.37/2.37, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 63.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2477, allocations: 151.6 MB / 1.166 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001997/0.2497, allocations: 0.965 MB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2515, allocations: 1.436 MB / 1.169 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.2516, allocations: 4 kB / 1.169 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.2517, allocations: 11.81 kB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2518, allocations: 55.5 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.2528, allocations: 445.5 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.2534, allocations: 0.5108 MB / 1.17 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2535, allocations: 45.67 kB / 1.17 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.2538, allocations: 187.5 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.254, allocations: 167.4 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.2541, allocations: 48 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2542, allocations: 63.98 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.2543, allocations: 39.8 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2545, allocations: 167.5 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.255, allocations: 0.4948 MB / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.255, allocations: 0 / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.255, allocations: 0 / 1.171 GB, free: 2.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.255, allocations: 0 / 1.171 GB, free: 2.75 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.0007973/0.2558, allocations: 0.6416 MB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2558, allocations: 8.031 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.2559, allocations: 42.73 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.256, allocations: 32.8 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2562, allocations: 219.1 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2562, allocations: 20.36 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2563, allocations: 24.38 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2565, allocations: 115.8 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2565, allocations: 3.938 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2565, allocations: 4 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2565, allocations: 4 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2566, allocations: 59.91 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.2575, allocations: 0.8757 MB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2577, allocations: 122.4 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.2578, allocations: 51.48 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2578, allocations: 4 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.2581, allocations: 174.6 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.975e-06/0.2581, allocations: 0 / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0004499/0.2586, allocations: 230 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.2586, allocations: 136.5 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.2589, allocations: 248.9 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.2589, allocations: 37.7 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2591, allocations: 128.5 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2591, allocations: 35.72 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.2593, allocations: 93.66 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2594, allocations: 334.8 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2597, allocations: 148.2 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.26, allocations: 227.3 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.2605, allocations: 361 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2605, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008746/0.2613, allocations: 0.5585 MB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.2615, allocations: 138.8 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2615, allocations: 4 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2615, allocations: 4 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.2616, allocations: 15.92 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2616, allocations: 4 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.2622, allocations: 116 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.2623, allocations: 23.98 kB / 1.176 GB, free: 13.07 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.0001441/0.2624, allocations: 149.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.2624, allocations: 23.86 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2625, allocations: 25.23 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2625, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2625, allocations: 4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2625, allocations: 7.875 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2628, allocations: 265.4 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2628, allocations: 0 / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.2628, allocations: 15.92 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2628, allocations: 0 / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2628, allocations: 4 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2628, allocations: 8 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2628, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.2631, allocations: 216 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.2632, allocations: 100.9 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2632, allocations: 11.98 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.2633, allocations: 4 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.2633, allocations: 23.92 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2633, allocations: 4 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001459/0.2635, allocations: 172.5 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.2635, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002954/0.2638, allocations: 64 kB / 1.177 GB, free: 11.88 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.0005792/0.2644, allocations: 0.7658 MB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006581/0.2651, allocations: 0.5248 MB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2651, allocations: 4.438 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2652, allocations: 72.52 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2656, allocations: 66.34 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2692, allocations: 3.016 MB / 1.181 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2696, allocations: 0.732 MB / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.2696, allocations: 17.55 kB / 1.182 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.2697, allocations: 55.41 kB / 1.182 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2697, allocations: 3.938 kB / 1.182 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.312/1.582, allocations: 6.41 MB / 1.188 GB, free: 96 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.339/10.92, allocations: 10.98 kB / 1.188 GB, free: 88 kB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 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.mat","/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