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.004488/0.004488, allocations: 102.4 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.001242/0.001242, allocations: 196.1 kB / 16.68 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.294/1.294, 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 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.89 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.6204, 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.Constant): time 0.001407/0.6219, allocations: 0.5842 MB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 3.233e-05/0.6219, allocations: 4 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.6219, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.622, allocations: 3.984 kB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.622, allocations: 0 / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.703e-05/0.622, allocations: 4 kB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.6221, allocations: 3.938 kB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.6221, allocations: 10.03 kB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.069e-05/0.6221, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.327e-05/0.6222, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.6222, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.6222, allocations: 3.938 kB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.6222, allocations: 0 / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.6222, allocations: 0 / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 4.989e-05/0.6223, allocations: 7.938 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6223, allocations: 4 kB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6223, allocations: 0 / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6223, allocations: 0 / 1.167 GB, free: 3.129 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.0002705/0.6226, allocations: 319.5 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6226, allocations: 8.922 kB / 1.167 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.6226, allocations: 30.75 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.489e-05/0.6227, allocations: 0.9375 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.6228, allocations: 164.4 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.6228, allocations: 4.312 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.6228, allocations: 4.359 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.417e-05/0.6229, allocations: 26.27 kB / 1.167 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6229, allocations: 7.938 kB / 1.167 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.6229, allocations: 4 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6229, allocations: 4 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.519e-05/0.6229, allocations: 3.938 kB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.6232, allocations: 383.5 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.6233, allocations: 169.1 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.6233, allocations: 84.14 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.6234, allocations: 75.28 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.6234, allocations: 109.8 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.6234, allocations: 0 / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 5.76e-05/0.6235, allocations: 29.7 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.6235, allocations: 126.7 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.6236, allocations: 105.8 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.6236, allocations: 25.7 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.6237, allocations: 80.14 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/0.6237, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.6237, allocations: 9.719 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6238, allocations: 314.8 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.6238, allocations: 0 / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.6238, allocations: 128 / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.6239, allocations: 83.22 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/0.6239, allocations: 79.22 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.877e-05/0.624, allocations: 36.16 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.624, allocations: 79.28 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.624, allocations: 83.23 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.471e-05/0.6241, allocations: 158.5 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-05/0.6241, allocations: 79.28 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-05/0.6242, allocations: 158.5 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.6243, allocations: 75.28 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.6243, allocations: 75.28 kB / 1.17 GB, free: 15.95 MB / 0.9044 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.0001135/0.6244, allocations: 268.3 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.6245, allocations: 108.9 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.6245, allocations: 108.1 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/0.6246, allocations: 180.2 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.6247, allocations: 180.3 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.709e-05/0.6247, allocations: 180.3 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.625, allocations: 405.1 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.625, allocations: 109 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.6251, allocations: 104.9 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.414e-05/0.6251, allocations: 184.2 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.6252, allocations: 184.3 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.621e-05/0.6253, allocations: 184.2 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.474e-05/0.6253, allocations: 184.2 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.6255, allocations: 316.1 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.6256, allocations: 178.1 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.6256, allocations: 180.2 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.6257, allocations: 109 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.6258, allocations: 184.2 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.6258, allocations: 105 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.6259, allocations: 83.28 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6259, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002179/0.6261, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 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.0004032/0.6265, allocations: 0.8165 MB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 2.963e-05/0.6265, allocations: 4 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6265, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6265, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.6269, allocations: 451.7 kB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.6279, allocations: 1.534 MB / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.6281, allocations: 0.669 MB / 1.176 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.658e-06/0.6281, allocations: 11.88 kB / 1.176 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.6282, allocations: 7.438 kB / 1.176 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.6282, allocations: 0 / 1.176 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.177/4.805, allocations: 0.9185 MB / 1.177 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/18.41, allocations: 11.83 kB / 1.177 GB, free: 7.82 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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