Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001278/0.001278, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001487/0.001487, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.49 GB / 0.7951 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 62.75 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4223, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002338/0.4246, allocations: 0.8895 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.4248, allocations: 51.78 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.4248, allocations: 0 / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.4249, allocations: 11.81 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.425, allocations: 11.86 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.249e-05/0.425, allocations: 31.92 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4252, allocations: 83.77 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.4253, allocations: 41.28 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.4254, allocations: 35.86 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.4255, allocations: 31.78 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.4255, allocations: 8 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.4255, allocations: 8 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.4256, allocations: 23.86 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.4256, allocations: 47.62 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.4258, allocations: 95.81 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4258, allocations: 0 / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4258, allocations: 4 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.4258, allocations: 4 kB / 1.327 GB, free: 0.5625 MB / 1.014 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.0005608/0.4264, allocations: 331.5 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4264, allocations: 8.031 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.4265, allocations: 46.73 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4265, allocations: 12.89 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.4268, allocations: 138.5 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4268, allocations: 8.562 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4268, allocations: 8.375 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.427, allocations: 112.9 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4271, allocations: 3.984 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4271, allocations: 4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4271, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4272, allocations: 43.97 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.4279, allocations: 431.6 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.4279, allocations: 41.09 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.428, allocations: 17.84 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.428, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.428, allocations: 34.72 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.428, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.4282, allocations: 57.58 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.4283, allocations: 81.05 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.4285, allocations: 191.2 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4285, allocations: 25.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.4286, allocations: 112 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.4286, allocations: 3.953 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.4286, allocations: 21.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4288, allocations: 322.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.4288, allocations: 8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.4289, allocations: 17.7 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.4289, allocations: 25.72 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4289, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.934e-05/0.429, allocations: 61.59 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.429, allocations: 4 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.429, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.429, allocations: 7.984 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.4291, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4291, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.4291, allocations: 19.77 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.4291, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 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.549e-05/0.4292, allocations: 125.8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.4293, allocations: 11.91 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.4293, allocations: 12.48 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4293, allocations: 8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4293, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4293, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.4298, allocations: 449.9 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4298, allocations: 64 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.4298, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4298, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.4298, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4298, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4298, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.4299, allocations: 81.88 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.43, allocations: 19.94 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.43, allocations: 3.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.43, allocations: 3.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.43, allocations: 3.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.43, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000122/0.4301, allocations: 132.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4301, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001893/0.4303, allocations: 12 kB / 1.33 GB, free: 13.2 MB / 1.029 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.0004664/0.4308, allocations: 0.6132 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.4309, allocations: 19.94 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4309, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.4309, allocations: 12.14 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.4311, allocations: 8.125 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.4326, allocations: 1.411 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.433, allocations: 0.7002 MB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.433, allocations: 8.5 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.4331, allocations: 27.42 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4331, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4629, allocations: 1.863 MB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.11, allocations: 1.016 kB / 1.335 GB, free: 8.52 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.376511583999672]