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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001516/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001805/0.001805, allocations: 198.7 kB / 16.14 MB, free: 6.645 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.293/2.293, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5361, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001655/0.5378, allocations: 0.6526 MB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.535e-05/0.5378, allocations: 4 kB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.5379, allocations: 0 / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.5379, allocations: 0 / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.644e-05/0.5379, allocations: 4 kB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.63e-05/0.538, allocations: 0 / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.538, allocations: 3.938 kB / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5381, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.5381, allocations: 0 / 1.017 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.489e-05/0.5381, allocations: 4 kB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.5381, allocations: 4 kB / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-06/0.5381, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.5381, allocations: 0 / 1.017 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.5382, allocations: 3.984 kB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.446e-05/0.5382, allocations: 11.92 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5382, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5382, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5382, allocations: 3.938 kB / 1.017 GB, free: 2.125 MB / 0.7637 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.0002492/0.5385, allocations: 311.5 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5385, allocations: 16.08 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.5386, allocations: 34.75 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.495e-05/0.5386, allocations: 0.9375 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.5387, allocations: 160.4 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.5387, allocations: 384 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-06/0.5387, allocations: 384 / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.34e-05/0.5387, allocations: 34.27 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5388, allocations: 7.875 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.5388, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5388, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.347e-05/0.5388, allocations: 4 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.539, allocations: 379.5 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.5391, allocations: 173.1 kB / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.5392, allocations: 84.08 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.5392, allocations: 75.28 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.5392, allocations: 109.8 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.5392, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.456e-05/0.5393, allocations: 29.69 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.5393, allocations: 130.7 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.778e-05/0.5394, allocations: 93.86 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.5394, allocations: 25.7 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.5394, allocations: 84.27 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.5395, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.5395, allocations: 9.719 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.5396, allocations: 310.8 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.5396, allocations: 7.875 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-06/0.5396, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.5396, allocations: 79.27 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.5396, allocations: 79.22 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.685e-05/0.5397, allocations: 33.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.5397, allocations: 79.28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.5398, allocations: 79.28 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.332e-05/0.5398, allocations: 154.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/0.5398, allocations: 75.28 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.985e-05/0.5399, allocations: 158.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.54, allocations: 87.27 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.54, allocations: 79.28 kB / 1.02 GB, free: 14.95 MB / 0.7794 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 8.772e-05/0.5401, allocations: 264.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.5401, allocations: 101 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.5402, allocations: 112.1 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/0.5402, allocations: 184.1 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/0.5403, allocations: 184.2 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.5403, allocations: 184.2 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.5405, allocations: 401.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.5406, allocations: 105 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.5406, allocations: 104.9 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.5406, allocations: 188.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.5407, allocations: 184.2 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.556e-05/0.5408, allocations: 176.3 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.5408, allocations: 180.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.5409, allocations: 316.1 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.541, allocations: 186 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.5411, allocations: 180.2 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.5411, allocations: 105 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.5412, allocations: 180.2 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.5412, allocations: 105 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.5413, allocations: 83.28 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5413, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002246/0.5415, allocations: 0 / 1.024 GB, free: 11.28 MB / 0.7794 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.0003528/0.5419, allocations: 0.8164 MB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.814e-05/0.5419, allocations: 4.094 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.5419, allocations: 3.938 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5419, allocations: 0 / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5422, allocations: 0.5242 MB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.5431, allocations: 1.526 MB / 1.026 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5433, allocations: 0.677 MB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.482e-06/0.5433, allocations: 0 / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.5433, allocations: 11.38 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5433, allocations: 0 / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009175/0.5525, allocations: 0.7894 MB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.5527, allocations: 213.9 kB / 1.028 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.985, allocations: 2.75 kB / 1.028 GB, free: 6.641 MB / 0.7794 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=50 --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