Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004648/0.004648, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00113/0.00113, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 75.91 kB / 0.9505 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7276, allocations: 140.4 MB / 1.088 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001534/0.7291, allocations: 0.6596 MB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.7298, allocations: 0.8057 MB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.7299, allocations: 0.7188 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.7299, allocations: 7.875 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.73, allocations: 5.5 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.7301, allocations: 16.5 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.7301, allocations: 15.72 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.7302, allocations: 9.062 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.7303, allocations: 8.594 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.7303, allocations: 10.27 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.7303, allocations: 6.219 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.7303, allocations: 1.094 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.7304, allocations: 5.484 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.7304, allocations: 15.72 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.448e-05/0.7305, allocations: 28.77 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7305, allocations: 0.9688 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7305, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.7305, allocations: 0 / 1.089 GB, free: 4.098 MB / 0.8575 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.0003157/0.7308, allocations: 339.1 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7308, allocations: 10.06 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.918e-05/0.7309, allocations: 31.45 kB / 1.089 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.7309, allocations: 6 kB / 1.089 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.731, allocations: 167.5 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.731, allocations: 1.094 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.731, allocations: 2.094 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.7312, allocations: 49.17 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7312, allocations: 9.047 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.7312, allocations: 3.938 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7312, allocations: 0 / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.7314, allocations: 33.73 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.7316, allocations: 249.9 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7317, allocations: 40.44 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.917e-05/0.7318, allocations: 23.91 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.7318, allocations: 0 / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.7319, allocations: 44.44 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7319, allocations: 0 / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003382/0.7322, allocations: 80.45 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/0.7322, allocations: 52.78 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.7323, allocations: 96.73 kB / 1.09 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.7323, allocations: 30.27 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.7323, allocations: 90.11 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.7323, allocations: 4.969 kB / 1.09 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.7324, allocations: 13.22 kB / 1.09 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.7324, allocations: 316.6 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.7325, allocations: 14.75 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.7326, allocations: 21.41 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.7328, allocations: 45.69 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7328, allocations: 3.938 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.733, allocations: 66.88 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.733, allocations: 6.25 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.733, allocations: 0 / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.733, allocations: 1.125 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.7331, allocations: 12.88 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.7331, allocations: 0 / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.7332, allocations: 6.406 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.7332, allocations: 1.859 kB / 1.091 GB, free: 2.34 MB / 0.8575 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 3.959e-05/0.7332, allocations: 114.8 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.7332, allocations: 6.625 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.7335, allocations: 71.09 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7335, allocations: 0.5156 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7335, allocations: 5.031 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.7335, allocations: 0 / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.7336, allocations: 159.6 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7336, allocations: 0.5156 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.7337, allocations: 9.281 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7337, allocations: 0 / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7337, allocations: 5.984 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7337, allocations: 0 / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7337, allocations: 4.031 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.7339, allocations: 163.3 kB / 1.091 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.7339, allocations: 82.64 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.734, allocations: 1.094 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.734, allocations: 5.625 kB / 1.091 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.7341, allocations: 11.34 kB / 1.091 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.7341, allocations: 0.7969 kB / 1.091 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.969e-05/0.7341, allocations: 80.06 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7341, allocations: 1.344 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002214/0.7343, allocations: 2.938 kB / 1.092 GB, free: 1.645 MB / 0.8575 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.0004205/0.7348, allocations: 0.6997 MB / 1.092 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.735, allocations: 36.05 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.735, allocations: 0 / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.7351, allocations: 19.91 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7354, allocations: 12.27 kB / 1.092 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.7357, allocations: 133 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.7359, allocations: 0.6765 MB / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.736, allocations: 144 / 1.093 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.736, allocations: 18.12 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.736, allocations: 0 / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.7515, allocations: 1.274 MB / 1.094 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/8.163, allocations: 13.69 kB / 1.094 GB, free: 15.71 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches