Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8603/0.8603, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.676/1.676, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.278e-06/1.067e-05, allocations: 2.281 kB / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001032/0.001042, allocations: 0.6584 MB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006441/0.001686, allocations: 0.8471 MB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.001713, allocations: 0 / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.001737, allocations: 3.938 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.001788, allocations: 3.938 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.001946, allocations: 15.92 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.002002, allocations: 23.94 kB / 0.9825 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.002082, allocations: 3.984 kB / 0.9825 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.00214, allocations: 11.98 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.241e-05/0.002172, allocations: 15.92 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.002185, allocations: 8 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.725e-05/0.002222, allocations: 4 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.002235, allocations: 4 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.002251, allocations: 7.984 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.002334, allocations: 27.89 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002336, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.533e-06/0.002338, allocations: 4 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.002341, allocations: 3.938 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 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.0002867/0.002628, allocations: 262.3 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.002662, allocations: 12.03 kB / 0.9829 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/0.002687, allocations: 34.75 kB / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.002741, allocations: 12.88 kB / 0.9829 GB, free: 496 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.752e-05/0.002809, allocations: 105.8 kB / 0.983 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.002818, allocations: 4.375 kB / 0.983 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.002826, allocations: 4.359 kB / 0.983 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.002934, allocations: 50.23 kB / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002941, allocations: 192 / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.002947, allocations: 384 / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.002954, allocations: 8.125 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.003038, allocations: 35.91 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.003273, allocations: 208.1 kB / 0.9833 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.003354, allocations: 34.64 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.003397, allocations: 28.89 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.003412, allocations: 0 / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.00343, allocations: 34.5 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.00343, allocations: 3.938 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.003628, allocations: 89.58 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.003658, allocations: 51.41 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.003708, allocations: 101.9 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.003715, allocations: 25.7 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.003748, allocations: 88.08 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.003761, allocations: 3.953 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.003784, allocations: 17.72 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.003925, allocations: 311 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.003963, allocations: 19.98 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.003996, allocations: 19.97 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.004067, allocations: 40.77 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004068, allocations: 0 / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.962e-05/0.004158, allocations: 69.66 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.004168, allocations: 8 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.004172, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.004183, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.004236, allocations: 11.92 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.00424, allocations: 4 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.00426, allocations: 4 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.004264, allocations: 0 / 0.9843 GB, free: 14.97 MB / 0.948 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 4.329e-05/0.004308, allocations: 109.8 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.00432, allocations: 15.95 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.004433, allocations: 68.91 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004434, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.004437, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.00444, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.00453, allocations: 132.7 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004531, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.00455, allocations: 4 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.004552, allocations: 3.969 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.004558, allocations: 7.984 kB / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.004559, allocations: 4 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.004561, allocations: 4 kB / 0.9846 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.00468, allocations: 167.4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-06/0.004686, allocations: 3.938 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.004695, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.004728, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.004757, allocations: 8.172 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.004759, allocations: 4.031 kB / 0.9848 GB, free: 14.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.004782, allocations: 87.27 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004782, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001337/0.004916, allocations: 7.938 kB / 0.9849 GB, free: 14.28 MB / 0.948 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.0002582/0.005174, allocations: 0.689 MB / 0.9855 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.005285, allocations: 47.92 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005286, allocations: 0 / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.005323, allocations: 15.98 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.005498, allocations: 7.938 kB / 0.9856 GB, free: 13.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.005781, allocations: 138.5 kB / 0.9857 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.005819, allocations: 55.36 kB / 0.9858 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.005837, allocations: 8.109 kB / 0.9858 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.005866, allocations: 16.44 kB / 0.9858 GB, free: 13.22 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.005866, allocations: 0 / 0.9858 GB, free: 13.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.01922, allocations: 1.932 MB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.775, allocations: 8.016 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cos1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.778978164307773]