Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_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_10_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.005829/0.00583, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001207/0.001207, allocations: 200.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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.474/2.474, allocations: 437.1 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.89 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7954, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002088/0.7976, allocations: 0.7153 MB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.7993, allocations: 1.138 MB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.7994, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.7995, allocations: 3.938 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.7996, allocations: 19.86 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.8003, allocations: 126.1 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.8005, allocations: 139.7 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.8006, allocations: 11.98 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.8007, allocations: 39.92 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.8009, allocations: 47.86 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.8009, allocations: 12 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.801, allocations: 20 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.8011, allocations: 19.86 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.8011, allocations: 39.86 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.8014, allocations: 133.9 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8014, allocations: 4 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8014, allocations: 0 / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8014, allocations: 0 / 1.169 GB, free: 1.328 MB / 0.8887 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.0006433/0.8021, allocations: 400.9 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.8021, allocations: 8.922 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.8022, allocations: 38.75 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.8022, allocations: 4.938 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.8024, allocations: 176.2 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.8024, allocations: 8.375 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.8025, allocations: 4.375 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.8026, allocations: 54.17 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.8026, allocations: 3.938 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.8026, allocations: 3.938 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8027, allocations: 0 / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.8027, allocations: 12 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.8032, allocations: 328.7 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.8033, allocations: 34.5 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.8033, allocations: 16.92 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.8033, allocations: 0 / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.8035, allocations: 67.39 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8035, allocations: 0 / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/0.8037, allocations: 73.62 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.8038, allocations: 55.39 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.8039, allocations: 125.8 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.8039, allocations: 33.7 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.804, allocations: 92.12 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.804, allocations: 3.906 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.8041, allocations: 29.7 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8042, allocations: 322.8 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.8042, allocations: 35.97 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.8043, allocations: 54.56 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.8045, allocations: 96.2 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8045, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000274/0.8048, allocations: 163.2 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.8048, allocations: 37.7 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8048, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.8048, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.8049, allocations: 8.062 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.8049, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.8051, allocations: 27.91 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.8051, allocations: 8 kB / 1.171 GB, free: 14.77 MB / 0.9044 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.0001002/0.8052, allocations: 125.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.8052, allocations: 11.89 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.8053, allocations: 3.906 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8053, allocations: 4.062 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8053, allocations: 7.938 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8053, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.8055, allocations: 189.5 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8055, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.8055, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8055, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.8055, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8055, allocations: 80 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8055, allocations: 3.984 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.8056, allocations: 93.3 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.8057, allocations: 85 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.8057, allocations: 48 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.8058, allocations: 3.984 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.8058, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.8058, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.8059, allocations: 103.6 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8059, allocations: 0 / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002171/0.8061, allocations: 20 kB / 1.171 GB, free: 14.02 MB / 0.9044 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.0004868/0.8066, allocations: 0.6357 MB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.8069, allocations: 143.3 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8069, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.8069, allocations: 12 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.8072, allocations: 22.45 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.8088, allocations: 1.486 MB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.8091, allocations: 0.6885 MB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.8091, allocations: 8 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.8092, allocations: 19.38 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.8092, allocations: 0 / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.8276, allocations: 2.361 MB / 1.177 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/8.402, allocations: 12.95 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches