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.008358/0.008358, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001825/0.001826, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.962/1.962, 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 9.1.3-maint.9.1.x/package.mo): time 3.505/3.505, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 59.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002646/1.159, allocations: 0.7277 MB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002065/1.161, allocations: 1.131 MB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/1.161, allocations: 1.062 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/1.161, allocations: 4.594 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/1.161, allocations: 16.95 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/1.162, allocations: 132.2 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/1.162, allocations: 129.7 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/1.162, allocations: 19.61 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/1.162, allocations: 49.02 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/1.162, allocations: 41.2 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/1.163, allocations: 13 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/1.163, allocations: 30.59 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/1.163, allocations: 10.94 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/1.163, allocations: 41.83 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/1.163, allocations: 130.9 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.163, allocations: 0 / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/1.163, allocations: 4 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.163, allocations: 0 / 1.09 GB, free: 3.688 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.000637/1.164, allocations: 395.4 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.164, allocations: 9.438 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/1.164, allocations: 32.73 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/1.164, allocations: 9.906 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/1.164, allocations: 179.7 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.164, allocations: 3.188 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.164, allocations: 6.141 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/1.164, allocations: 51.05 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.164, allocations: 3.938 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.164, allocations: 0.6562 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.164, allocations: 1.594 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/1.165, allocations: 10.78 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/1.165, allocations: 338.6 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/1.165, allocations: 27.09 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/1.165, allocations: 18.5 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/1.165, allocations: 1.172 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/1.165, allocations: 61.42 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/1.165, allocations: 3.984 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002836/1.166, allocations: 77.97 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.166, allocations: 53.3 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.166, allocations: 129.3 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/1.166, allocations: 32.66 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/1.166, allocations: 90.25 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/1.166, allocations: 13.8 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.166, allocations: 34.05 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/1.166, allocations: 319 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/1.166, allocations: 37.61 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/1.167, allocations: 56.56 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/1.167, allocations: 95.64 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.167, allocations: 0 / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004751/1.167, allocations: 158.3 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/1.167, allocations: 39.77 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.167, allocations: 4 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.167, allocations: 3.016 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/1.168, allocations: 1.906 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.168, allocations: 9.703 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/1.168, allocations: 31.66 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/1.168, allocations: 7.312 kB / 1.092 GB, free: 1.574 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 9.713e-05/1.168, allocations: 120.6 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/1.168, allocations: 2.188 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/1.168, allocations: 11.41 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.168, allocations: 0 / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.168, allocations: 5.062 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.168, allocations: 0.6562 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/1.168, allocations: 173.8 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.168, allocations: 0 / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/1.168, allocations: 2.547 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.168, allocations: 1.453 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.168, allocations: 1.594 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.168, allocations: 0 / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.168, allocations: 1.484 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/1.169, allocations: 100 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/1.169, allocations: 83.92 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/1.169, allocations: 2.031 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/1.169, allocations: 4.656 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/1.169, allocations: 3.031 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.169, allocations: 6.172 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.756e-05/1.169, allocations: 94.39 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.169, allocations: 0.75 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004411/1.169, allocations: 20.48 kB / 1.093 GB, free: 0.9609 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.0005206/1.17, allocations: 0.6401 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003619/1.17, allocations: 133.7 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.17, allocations: 1.219 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/1.17, allocations: 19.62 kB / 1.094 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/1.171, allocations: 18.64 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/1.173, allocations: 1.5 MB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.174, allocations: 0.6851 MB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.406e-05/1.174, allocations: 7.797 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/1.174, allocations: 16.45 kB / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.174, allocations: 0 / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04619/1.22, allocations: 2.37 MB / 1.098 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.25, allocations: 1.969 kB / 1.098 GB, free: 13.76 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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