Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.009303/0.009303, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.00236/0.00236, allocations: 201.3 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.599/2.599, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.995/3.995, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 69.12 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4461, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002834/0.449, allocations: 0.5761 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 5.116e-05/0.4491, allocations: 4 kB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.4491, allocations: 0 / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.4492, allocations: 0 / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.501e-05/0.4493, allocations: 4 kB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.731e-05/0.4493, allocations: 3.984 kB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.4494, allocations: 0 / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.4495, allocations: 4 kB / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.4495, allocations: 0 / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.245e-05/0.4496, allocations: 0 / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.4496, allocations: 3.938 kB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.4496, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.4496, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.4497, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.4498, allocations: 4 kB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4498, allocations: 4 kB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4498, allocations: 0 / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.4498, allocations: 0 / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004338/0.4503, allocations: 315.6 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4503, allocations: 11.97 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.4504, allocations: 34.69 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.4504, allocations: 0.9375 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4506, allocations: 164.4 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4506, allocations: 384 / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4506, allocations: 8.375 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4508, allocations: 26.27 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4508, allocations: 3.938 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4508, allocations: 0 / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4508, allocations: 3.984 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.4509, allocations: 4 kB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.4511, allocations: 145.7 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.4512, allocations: 18.52 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.4513, allocations: 12.95 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4513, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4513, allocations: 34.56 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.4513, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.4515, allocations: 41.62 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.4516, allocations: 55.34 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.4517, allocations: 89.98 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4517, allocations: 29.7 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.4518, allocations: 80.14 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.4518, allocations: 288 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.4519, allocations: 17.72 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4521, allocations: 310.8 kB / 1.089 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.4521, allocations: 0 / 1.089 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.4521, allocations: 0 / 1.089 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.4522, allocations: 12.92 kB / 1.089 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4522, allocations: 0 / 1.089 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.491e-05/0.4523, allocations: 41.67 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4523, allocations: 11.94 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4523, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4524, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.4524, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4525, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.4525, allocations: 11.89 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4525, allocations: 7.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001124/0.4526, allocations: 109.9 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4527, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.4527, allocations: 7.062 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4527, allocations: 3.984 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4527, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4527, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4529, allocations: 141.7 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4529, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.4529, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.453, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.453, allocations: 7.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.453, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.453, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.4531, allocations: 61.06 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.4532, allocations: 77.11 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.4532, allocations: 7.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.4532, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.4533, allocations: 4.031 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4533, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.4533, allocations: 75.28 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4533, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003728/0.4537, allocations: 0 / 1.09 GB, free: 15.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005313/0.4543, allocations: 0.6011 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.4544, allocations: 15.92 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4544, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-06/0.4544, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4547, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.4552, allocations: 111.3 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4556, allocations: 0.669 MB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.4556, allocations: 12.11 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.4556, allocations: 7.438 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.4556, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.574, allocations: 0.9118 MB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.55, allocations: 9.75 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches