Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.001238/0.001238, 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.001162/0.001162, allocations: 194 kB / 16.14 MB, free: 6.691 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.16/1.16, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.184/2.184, allocations: 437 MB / 0.71 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4499, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001638/0.4516, allocations: 0.7357 MB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.4523, allocations: 0.8001 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.4523, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.4524, allocations: 4 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.4524, allocations: 11.92 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.4525, allocations: 7.984 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.653e-05/0.4526, allocations: 19.94 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.4527, allocations: 7.984 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.4527, allocations: 11.94 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.4528, allocations: 7.984 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4528, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.4528, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.4528, allocations: 15.94 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.4528, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.782e-05/0.4529, allocations: 27.89 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4529, allocations: 3.984 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.41e-07/0.4529, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.4529, allocations: 0 / 1.018 GB, free: 1.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003387/0.4533, allocations: 337.8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4533, allocations: 8.031 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.4533, allocations: 30.75 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.4534, allocations: 8.844 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.4534, allocations: 168.4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.4535, allocations: 4.312 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.4535, allocations: 384 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4536, allocations: 50.23 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.4536, allocations: 3.938 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.4536, allocations: 0 / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4537, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4538, allocations: 35.95 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.4541, allocations: 241 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4542, allocations: 42.44 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.4543, allocations: 28.88 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.4543, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.4543, allocations: 34.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4543, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003045/0.4546, allocations: 77.59 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.4547, allocations: 55.34 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.4547, allocations: 102 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.4548, allocations: 29.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.4548, allocations: 96 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.4548, allocations: 7.906 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.4548, allocations: 13.72 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.4549, allocations: 310.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.455, allocations: 15.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.4551, allocations: 19.97 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4552, allocations: 36.83 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4552, allocations: 3.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.4554, allocations: 77.56 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4554, allocations: 9.344 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4555, allocations: 3.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.4555, allocations: 4.094 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.4556, allocations: 11.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4556, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.4556, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.4556, allocations: 0 / 1.02 GB, free: 15.02 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 (2): * Single equations (assignments): 2 * 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 5.912e-05/0.4557, allocations: 113.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.4557, allocations: 3.984 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.4559, allocations: 72.78 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4559, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4559, allocations: 4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4559, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.4561, allocations: 157.6 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4561, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.4562, allocations: 11.92 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4562, allocations: 0 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.4562, allocations: 4 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4562, allocations: 4.031 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4562, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4564, allocations: 163.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.4564, allocations: 77.11 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.4564, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.4565, allocations: 12.02 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.4565, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.4566, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.4566, allocations: 83.27 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.4566, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001988/0.4568, allocations: 4 kB / 1.021 GB, free: 14.21 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 (2): * Single equations (assignments): 2 * 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.0004283/0.4572, allocations: 0.705 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.4574, allocations: 35.95 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4574, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.4575, allocations: 20.02 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.4578, allocations: 16 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.4581, allocations: 135.6 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.4583, allocations: 0.677 MB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.4583, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.4583, allocations: 7.438 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4584, allocations: 4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.635/2.093, allocations: 1.061 MB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/2.093, allocations: 198.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/3.533, allocations: 3.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches