Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.007268/0.007268, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001526/0.001526, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.678/2.678, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3221, allocations: 151.6 MB / 1.166 GB, free: 7.406 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002223/0.3244, allocations: 0.5895 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.275e-05/0.3244, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.3245, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3245, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.3246, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.941e-05/0.3246, allocations: 0 / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.3247, allocations: 15.88 kB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.3247, allocations: 0 / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.3248, allocations: 4 kB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.3248, allocations: 3.938 kB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3248, allocations: 0 / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-06/0.3248, allocations: 4 kB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.3248, allocations: 3.984 kB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3249, allocations: 3.984 kB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.3249, allocations: 0 / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3249, allocations: 0 / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.325, allocations: 0 / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.325, allocations: 0 / 1.167 GB, free: 6.781 MB / 0.92 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.0002998/0.3253, allocations: 323.5 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3253, allocations: 8.031 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.3254, allocations: 34.75 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.898e-05/0.3254, allocations: 0.9375 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3255, allocations: 160.7 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3255, allocations: 384 / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.3256, allocations: 384 / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.197e-05/0.3256, allocations: 34.2 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3257, allocations: 3.938 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.3257, allocations: 3.938 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3257, allocations: 4 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.501e-05/0.3257, allocations: 0 / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.326, allocations: 383.5 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.3261, allocations: 173.1 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.3262, allocations: 88.11 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.3262, allocations: 79.28 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.3263, allocations: 109.8 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.3263, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.3264, allocations: 26.08 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.3264, allocations: 126.7 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3266, allocations: 101.9 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3266, allocations: 25.7 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.3266, allocations: 80.14 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3266, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.3267, allocations: 13.72 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3268, allocations: 318.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-06/0.3268, allocations: 3.938 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.3268, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.3269, allocations: 75.28 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-05/0.3269, allocations: 83.34 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.548e-05/0.327, allocations: 37.62 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.327, allocations: 79.28 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/0.3271, allocations: 83.22 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-05/0.3272, allocations: 154.6 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.3272, allocations: 75.28 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-05/0.3273, allocations: 154.5 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.3274, allocations: 83.27 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.3274, allocations: 83.22 kB / 1.17 GB, free: 3.59 MB / 0.92 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 (0): * Single equations (assignments): 0 * 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.0001524/0.3276, allocations: 264.3 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3277, allocations: 101 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.3277, allocations: 108.1 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.449e-05/0.3278, allocations: 188.2 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-05/0.3279, allocations: 180.3 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/0.328, allocations: 180.2 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3283, allocations: 409.2 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.3284, allocations: 104.9 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/0.3284, allocations: 108.9 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.3285, allocations: 184.3 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/0.3286, allocations: 180.2 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.126e-05/0.3287, allocations: 180.6 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.024e-05/0.3288, allocations: 180.2 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.329, allocations: 311.7 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.3291, allocations: 186 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.3292, allocations: 184.2 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.3292, allocations: 101 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3293, allocations: 180.2 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.3294, allocations: 109 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.3295, allocations: 79.28 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003328/0.3298, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0005077/0.3303, allocations: 0.8165 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.164e-05/0.3304, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3304, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3304, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.3309, allocations: 461.5 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3322, allocations: 1.532 MB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3325, allocations: 0.6729 MB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.103e-06/0.3325, allocations: 3.938 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.3325, allocations: 7.438 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.3325, allocations: 0 / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3506, allocations: 0.9243 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.845, allocations: 8.594 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches