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.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.0008502/0.0008502, 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.0008673/0.0008673, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.084e-06/2.084e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.621e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001613/0.001639, allocations: 0.8405 MB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.001765, allocations: 47.72 kB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.001822, allocations: 4 kB / 0.9514 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.183e-05/0.001864, allocations: 11.86 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.001943, allocations: 15.81 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.157e-05/0.002005, allocations: 19.98 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.002126, allocations: 83.75 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.002279, allocations: 37.22 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.00236, allocations: 51.89 kB / 0.9516 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.002415, allocations: 31.84 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.002441, allocations: 8 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.002449, allocations: 8 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.00247, allocations: 19.91 kB / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.002499, allocations: 19.94 kB / 0.9517 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.002643, allocations: 99.53 kB / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002646, allocations: 0 / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.543e-06/0.002647, allocations: 0 / 0.9518 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002651, allocations: 7.938 kB / 0.9518 GB, free: 2.188 MB / 0.9011 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.0003861/0.003037, allocations: 323.8 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.003078, allocations: 8.031 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.003112, allocations: 50.73 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.003137, allocations: 12.84 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.00331, allocations: 141.8 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003322, allocations: 8.562 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.003337, allocations: 16.36 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.003481, allocations: 109.9 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.003489, allocations: 0 / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.003498, allocations: 0 / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.00351, allocations: 4 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.003581, allocations: 47.97 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.004023, allocations: 419.5 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.004079, allocations: 37.16 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.00411, allocations: 25.78 kB / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.004119, allocations: 0 / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.004138, allocations: 30.56 kB / 0.9529 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.004139, allocations: 0 / 0.9529 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.004304, allocations: 61.53 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.004348, allocations: 77.36 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.004481, allocations: 184.1 kB / 0.9533 GB, free: 484 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.004493, allocations: 29.7 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.004552, allocations: 108 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.004561, allocations: 11.94 kB / 0.9534 GB, free: 324 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.004587, allocations: 17.72 kB / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.004676, allocations: 322.8 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.004692, allocations: 8 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.00471, allocations: 17.72 kB / 0.9537 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.004747, allocations: 33.66 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004749, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.382e-05/0.004813, allocations: 61.59 kB / 0.9538 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.004827, allocations: 4 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.004832, allocations: 0 / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.004845, allocations: 3.938 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.004902, allocations: 8 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.004909, allocations: 3.984 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.004931, allocations: 11.89 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004934, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 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 6.26e-05/0.004997, allocations: 126.9 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.005019, allocations: 8.172 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.005039, allocations: 8.5 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005042, allocations: 7.875 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005046, allocations: 4 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.00505, allocations: 3.984 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.005319, allocations: 441.9 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.005321, allocations: 0 / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.005335, allocations: 4 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005337, allocations: 0 / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005343, allocations: 4.062 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.005344, allocations: 0 / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.005347, allocations: 7.922 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.503e-05/0.005412, allocations: 85.84 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.005439, allocations: 11.94 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.005451, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.005463, allocations: 8 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.005476, allocations: 3.938 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005478, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000102/0.00558, allocations: 147.2 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00558, allocations: 4.031 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001271/0.005707, allocations: 11.95 kB / 0.9547 GB, free: 14.84 MB / 0.9167 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.0002452/0.005952, allocations: 0.6099 MB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.006025, allocations: 16 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.006027, allocations: 0 / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.006035, allocations: 11.94 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.00616, allocations: 8.219 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.007076, allocations: 1.409 MB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.007126, allocations: 80.31 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.007158, allocations: 12.48 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.007204, allocations: 32.48 kB / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.007205, allocations: 4 kB / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.02402, allocations: 2.401 MB / 0.9592 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.64, allocations: 10.19 kB / 0.9592 GB, free: 10.25 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.782538225874305]