Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.002041/0.002041, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.003084/0.003084, allocations: 217.3 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.347/3.347, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003194/0.003194, allocations: 69.77 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.415, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002698/0.4177, allocations: 0.8403 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.4179, allocations: 55.7 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.4179, allocations: 8 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.902e-05/0.418, allocations: 11.86 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.4181, allocations: 7.875 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.689e-05/0.4182, allocations: 27.97 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.4184, allocations: 75.78 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.4185, allocations: 37.22 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.4186, allocations: 39.8 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.4187, allocations: 31.73 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.4187, allocations: 8 kB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.4187, allocations: 8 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.4188, allocations: 23.91 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.4188, allocations: 35.8 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.419, allocations: 99.77 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.419, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.906e-06/0.419, allocations: 0 / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.419, allocations: 7.938 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005791/0.4196, allocations: 322 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4197, allocations: 8.031 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.4197, allocations: 42.73 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.4198, allocations: 16.84 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.42, allocations: 142.6 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.4201, allocations: 8.562 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.4201, allocations: 4.375 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4203, allocations: 111.2 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4203, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4203, allocations: 4 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4204, allocations: 4 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4205, allocations: 43.92 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.4212, allocations: 419.6 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.4212, allocations: 37.28 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.4213, allocations: 25.66 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.4213, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4213, allocations: 38.56 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4213, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.4215, allocations: 57.53 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4216, allocations: 77.11 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.4218, allocations: 186.7 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.4218, allocations: 25.7 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.4219, allocations: 112.3 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4219, allocations: 7.953 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.422, allocations: 21.67 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4221, allocations: 322.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.4221, allocations: 4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.4222, allocations: 21.7 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.4222, allocations: 25.66 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4222, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.4223, allocations: 57.66 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4223, allocations: 12.22 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4224, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4224, allocations: 11.88 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.4224, allocations: 7.984 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4224, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.4225, allocations: 15.83 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.4225, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.26e-05/0.4226, allocations: 114.9 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.4226, allocations: 11.95 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.4227, allocations: 16.48 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4227, allocations: 8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4227, allocations: 96 / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4227, allocations: 7.922 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.4231, allocations: 441.9 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4231, allocations: 0 / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.4232, allocations: 7.984 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4232, allocations: 3.938 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4232, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4232, allocations: 4 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4232, allocations: 0 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.4233, allocations: 77.95 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.4233, allocations: 23.89 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4233, allocations: 3.938 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.4233, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.4234, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4234, allocations: 4 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001308/0.4235, allocations: 140.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4235, allocations: 4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001969/0.4237, allocations: 8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004867/0.4242, allocations: 0.6171 MB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.4243, allocations: 12 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4243, allocations: 0 / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.4243, allocations: 11.94 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4245, allocations: 8 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.4261, allocations: 1.411 MB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.121e-05/0.4261, allocations: 88.47 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.4262, allocations: 8.484 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.4262, allocations: 39.36 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.4262, allocations: 3.938 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.4558, allocations: 2.258 MB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.05, allocations: 5.484 kB / 1.372 GB, free: 5.02 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.24191417125985]