Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.01343/0.01343, allocations: 98.36 kB / 15.73 MB, free: 5.605 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.001727/0.001726, allocations: 192.5 kB / 16.67 MB, free: 5.527 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.598/2.598, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 4.457/4.457, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003462/0.003462, allocations: 76.05 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768/1.772, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.004384/1.776, allocations: 0.5724 MB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 8.586e-05/1.777, allocations: 7.984 kB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/1.777, allocations: 3.938 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/1.777, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/1.777, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.948e-05/1.777, allocations: 0 / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000102/1.777, allocations: 8 kB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/1.777, allocations: 6.016 kB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/1.777, allocations: 0 / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/1.777, allocations: 0 / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/1.777, allocations: 3.938 kB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/1.777, allocations: 4 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/1.777, allocations: 4 kB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/1.777, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/1.778, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/1.778, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.146e-06/1.778, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.778, allocations: 0 / 1.167 GB, free: 3.145 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005828/1.778, allocations: 315.6 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.289e-05/1.778, allocations: 8.625 kB / 1.167 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/1.778, allocations: 30.75 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/1.778, allocations: 4.938 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/1.779, allocations: 164.4 kB / 1.167 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/1.779, allocations: 4.312 kB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/1.779, allocations: 384 / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/1.779, allocations: 26.27 kB / 1.167 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.779, allocations: 3.938 kB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.779, allocations: 4 kB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.779, allocations: 0 / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/1.779, allocations: 3.938 kB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/1.78, allocations: 153.7 kB / 1.167 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/1.78, allocations: 18.61 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/1.78, allocations: 4.859 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/1.78, allocations: 0 / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.78, allocations: 42.56 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 3.246e-06/1.78, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002692/1.78, allocations: 49.61 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/1.78, allocations: 55.44 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/1.78, allocations: 89.86 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/1.78, allocations: 25.7 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/1.78, allocations: 80.14 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/1.781, allocations: 4 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/1.781, allocations: 9.719 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002487/1.781, allocations: 310.8 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/1.781, allocations: 4 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/1.781, allocations: 8 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/1.781, allocations: 4.859 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.781, allocations: 0 / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/1.781, allocations: 41.62 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.781, allocations: 4 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.781, allocations: 3.938 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.781, allocations: 0 / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.781, allocations: 4 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.781, allocations: 4.094 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/1.781, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/1.781, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 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.0001534/1.781, allocations: 109.8 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/1.782, allocations: 0 / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/1.782, allocations: 11.06 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.782, allocations: 3.938 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.782, allocations: 0 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.782, allocations: 0 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/1.782, allocations: 153.7 kB / 1.168 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.782, allocations: 0 / 1.168 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/1.782, allocations: 4 kB / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.782, allocations: 0 / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.782, allocations: 3.938 kB / 1.168 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.782, allocations: 0 / 1.168 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.782, allocations: 3.938 kB / 1.168 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/1.782, allocations: 61.12 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/1.782, allocations: 81.14 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/1.782, allocations: 3.938 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/1.782, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/1.782, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/1.782, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.903e-05/1.782, allocations: 75.28 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.782, allocations: 3.938 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002786/1.783, allocations: 4 kB / 1.169 GB, free: 0.8477 MB / 0.8887 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.0006653/1.783, allocations: 0.6007 MB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.783, allocations: 4 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.784, allocations: 0 / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/1.784, allocations: 4 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.784, allocations: 4 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/1.784, allocations: 114 kB / 1.169 GB, free: 56 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.785, allocations: 0.6767 MB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.359e-05/1.785, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/1.785, allocations: 15.38 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.404e-06/1.785, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/1.82, allocations: 0.9049 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/15.3, allocations: 23.17 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches