Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.008185/0.008185, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.002132/0.002132, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8656, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002348/0.868, allocations: 0.7179 MB / 1.208 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.8699, allocations: 1.135 MB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.87, allocations: 4 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.87, allocations: 3.938 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.8701, allocations: 11.91 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.8707, allocations: 139.1 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.8709, allocations: 131.7 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.871, allocations: 16 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.8711, allocations: 47.89 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.8713, allocations: 39.89 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.8713, allocations: 12 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.8714, allocations: 27.98 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.8714, allocations: 3.938 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.8715, allocations: 51.77 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.8717, allocations: 130 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8718, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8718, allocations: 4 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8718, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006235/0.8724, allocations: 397 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.8725, allocations: 8.031 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.8725, allocations: 34.75 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.8726, allocations: 4.938 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8728, allocations: 180.2 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.8728, allocations: 4.375 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.8728, allocations: 8.359 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.8729, allocations: 54.19 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.873, allocations: 7.875 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.873, allocations: 0 / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.873, allocations: 0 / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.712e-05/0.873, allocations: 15.98 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.8736, allocations: 332.7 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.915e-05/0.8736, allocations: 26.52 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.8737, allocations: 16.92 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.8737, allocations: 4 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.8739, allocations: 59.39 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.8739, allocations: 0 / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002304/0.8742, allocations: 73.67 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/0.8743, allocations: 55.34 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.8744, allocations: 129.8 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.8744, allocations: 29.7 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.8745, allocations: 96.11 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.8745, allocations: 3.906 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.8746, allocations: 37.7 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8747, allocations: 318.8 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.8748, allocations: 35.98 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.8749, allocations: 62.48 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.8751, allocations: 96.2 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8751, allocations: 4 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002804/0.8754, allocations: 163.3 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.8754, allocations: 41.69 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.8754, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8754, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.8755, allocations: 4 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8755, allocations: 4.062 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.8757, allocations: 27.91 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.8758, allocations: 8 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001062/0.8759, allocations: 121.8 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.8759, allocations: 7.906 kB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.8759, allocations: 7.906 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.876, allocations: 3.938 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.876, allocations: 4 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.876, allocations: 4 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.8761, allocations: 173.6 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.8761, allocations: 0 / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.8762, allocations: 7.938 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.8764, allocations: 101.3 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.8764, allocations: 81.02 kB / 1.212 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8764, allocations: 0 / 1.212 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.8765, allocations: 4 kB / 1.212 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.8765, allocations: 0 / 1.212 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.8765, allocations: 7.984 kB / 1.212 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.912e-05/0.8766, allocations: 99.64 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8766, allocations: 0 / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000227/0.8768, allocations: 16 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004807/0.8773, allocations: 0.6396 MB / 1.213 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.8776, allocations: 135.3 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8776, allocations: 0 / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.8776, allocations: 19.94 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.8779, allocations: 16.11 kB / 1.213 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.8797, allocations: 1.5 MB / 1.215 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.8799, allocations: 0.6923 MB / 1.215 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.88, allocations: 8 kB / 1.216 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.88, allocations: 15.42 kB / 1.216 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.88, allocations: 0 / 1.216 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.9006, allocations: 2.364 MB / 1.218 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.605, allocations: 9.906 kB / 1.218 GB, free: 2.324 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches