Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004696/0.004696, allocations: 99.48 kB / 15.73 MB, free: 6.023 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.001171/0.001171, allocations: 195.6 kB / 16.67 MB, free: 5.938 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.782/2.782, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002385/1.065, allocations: 0.7333 MB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001625/1.067, allocations: 1.133 MB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/1.067, allocations: 1.219 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/1.067, allocations: 4.594 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/1.067, allocations: 10.91 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/1.068, allocations: 138.5 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/1.068, allocations: 127.8 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/1.068, allocations: 12.16 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/1.068, allocations: 48.33 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/1.068, allocations: 41.81 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/1.068, allocations: 17 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/1.068, allocations: 26.44 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/1.068, allocations: 7.688 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/1.069, allocations: 40.86 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/1.069, allocations: 144.9 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.069, allocations: 1.375 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/1.069, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.069, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 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.0004929/1.069, allocations: 395.1 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.069, allocations: 13.39 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/1.069, allocations: 32.31 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/1.069, allocations: 6.984 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/1.07, allocations: 175.1 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/1.07, allocations: 8.344 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/1.07, allocations: 5.5 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.07, allocations: 42.05 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.07, allocations: 3.938 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/1.07, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.07, allocations: 1.094 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/1.07, allocations: 21 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/1.07, allocations: 333.9 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.568e-05/1.07, allocations: 27.62 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/1.07, allocations: 13.92 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/1.07, allocations: 0.9375 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/1.071, allocations: 76.64 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/1.071, allocations: 0 / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000214/1.071, allocations: 71.69 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.071, allocations: 53.48 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.071, allocations: 125.5 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/1.071, allocations: 32.36 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/1.071, allocations: 92.61 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/1.071, allocations: 5.75 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/1.071, allocations: 34.42 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/1.071, allocations: 323.3 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/1.071, allocations: 38.06 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.071, allocations: 56.03 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.072, allocations: 92.11 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.072, allocations: 4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002862/1.072, allocations: 161.9 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/1.072, allocations: 39.25 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.072, allocations: 1.75 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.072, allocations: 5 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/1.072, allocations: 2.672 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.072, allocations: 1.406 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.072, allocations: 28.94 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/1.072, allocations: 13.83 kB / 1.092 GB, free: 1.586 MB / 0.8575 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 7.672e-05/1.072, allocations: 121.3 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/1.072, allocations: 6.438 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/1.072, allocations: 6.562 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.072, allocations: 0.7969 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.072, allocations: 0.9062 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.072, allocations: 0 / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/1.072, allocations: 178.2 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.072, allocations: 0.6562 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/1.073, allocations: 10.38 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.073, allocations: 0.875 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.073, allocations: 1.625 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/1.073, allocations: 0.8438 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.073, allocations: 3.938 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/1.073, allocations: 89.12 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/1.073, allocations: 87.19 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.073, allocations: 2.125 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/1.073, allocations: 8.453 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/1.073, allocations: 3.734 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/1.073, allocations: 2.359 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.48e-05/1.073, allocations: 98.55 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.073, allocations: 0 / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002348/1.073, allocations: 16.56 kB / 1.093 GB, free: 0.9688 MB / 0.8575 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.0004036/1.074, allocations: 0.6366 MB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002892/1.074, allocations: 138.2 kB / 1.094 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.074, allocations: 0 / 1.094 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/1.074, allocations: 19 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.074, allocations: 21.48 kB / 1.094 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.076, allocations: 1.498 MB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/1.076, allocations: 0.6836 MB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.404e-05/1.076, allocations: 4.938 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/1.076, allocations: 20.48 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/1.076, allocations: 0 / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/1.36, allocations: 2.363 MB / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.92, allocations: 1.281 kB / 1.098 GB, free: 13.78 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches