Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.557/2.557, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7802, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001805/0.782, allocations: 0.8869 MB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.7822, allocations: 55.64 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.7822, allocations: 1.188 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.7822, allocations: 9.891 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.7823, allocations: 14.67 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.896e-05/0.7824, allocations: 27.2 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.7825, allocations: 82.42 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7826, allocations: 39.94 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.7827, allocations: 44.45 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.7827, allocations: 32.7 kB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.7827, allocations: 8.094 kB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.7828, allocations: 8.219 kB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.7828, allocations: 17.47 kB / 1.273 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.7828, allocations: 46.98 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.783, allocations: 102.4 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.783, allocations: 0 / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.783, allocations: 0 / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.783, allocations: 5.031 kB / 1.273 GB, free: 6.871 MB / 0.9981 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.0003477/0.7833, allocations: 396.1 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7833, allocations: 9.438 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.7834, allocations: 39.31 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.7834, allocations: 19.3 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.7836, allocations: 212.9 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.7836, allocations: 8.5 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7836, allocations: 9.875 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.7837, allocations: 106.2 kB / 1.273 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7837, allocations: 0 / 1.273 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7838, allocations: 5.688 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7838, allocations: 3.219 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.7838, allocations: 47.25 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.7842, allocations: 466.5 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.7843, allocations: 42.03 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.7843, allocations: 19.44 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.7843, allocations: 0.75 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.088e-05/0.7843, allocations: 32.86 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7843, allocations: 4 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.7845, allocations: 57.97 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.7845, allocations: 77.8 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.7846, allocations: 189.5 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.7846, allocations: 25.7 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.7847, allocations: 109.5 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.7847, allocations: 14.58 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.7847, allocations: 26.16 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.7847, allocations: 321.1 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7847, allocations: 3.125 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.7848, allocations: 21.52 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.7848, allocations: 25.31 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7848, allocations: 1.156 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.722e-05/0.7849, allocations: 67.34 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7849, allocations: 7.531 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.7849, allocations: 4.75 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7849, allocations: 4.781 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.7849, allocations: 6.281 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.7849, allocations: 1.594 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.785, allocations: 10.42 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.785, allocations: 1.688 kB / 1.275 GB, free: 4.68 MB / 0.9981 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 4.106e-05/0.785, allocations: 118.3 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.7851, allocations: 9.266 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.7851, allocations: 14.03 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7851, allocations: 2.75 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7851, allocations: 0.9375 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7851, allocations: 4.844 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.7853, allocations: 478.8 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7853, allocations: 5.219 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.7854, allocations: 5.109 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7854, allocations: 4.844 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.7854, allocations: 5.094 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7854, allocations: 0 / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7854, allocations: 1.062 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.377e-05/0.7854, allocations: 77.22 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.7855, allocations: 95.48 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.7855, allocations: 9.406 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.7855, allocations: 3.5 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.7855, allocations: 4.984 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.7855, allocations: 1.062 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.919e-05/0.7856, allocations: 133.2 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7856, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001748/0.7858, allocations: 12.11 kB / 1.276 GB, free: 3.746 MB / 0.9981 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.0002056/0.786, allocations: 0.6225 MB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.786, allocations: 14.91 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.786, allocations: 0 / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.7861, allocations: 11.81 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.7862, allocations: 11.84 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.7871, allocations: 1.41 MB / 1.278 GB, free: 17.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.7874, allocations: 0.7005 MB / 1.279 GB, free: 17.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.7874, allocations: 9.141 kB / 1.279 GB, free: 17.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.7875, allocations: 25.7 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7875, allocations: 7.875 kB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.8099, allocations: 1.716 MB / 1.28 GB, free: 16.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/7.746, allocations: 5.031 kB / 1.28 GB, free: 16.74 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.24670756800333]