Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009049/0.0009049, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000992/0.000992, allocations: 165.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.9335/0.9335, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.709/1.709, allocations: 359 MB / 0.6037 GB, free: 11.09 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.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.646e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001815/0.001841, allocations: 0.8257 MB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.002009, allocations: 63.69 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.00208, allocations: 4 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.002126, allocations: 11.86 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.002217, allocations: 11.81 kB / 0.9514 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.288e-05/0.00228, allocations: 23.97 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.002398, allocations: 79.78 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.002544, allocations: 41.27 kB / 0.9515 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.002628, allocations: 43.84 kB / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.002685, allocations: 27.89 kB / 0.9516 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.002713, allocations: 8 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.002723, allocations: 12 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.002745, allocations: 15.92 kB / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.00278, allocations: 27.92 kB / 0.9517 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.002921, allocations: 99.53 kB / 0.9518 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.002925, allocations: 4 kB / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002926, allocations: 0 / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.002931, allocations: 0 / 0.9518 GB, free: 2.18 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.0004293/0.00336, allocations: 326 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.003405, allocations: 8.031 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.003445, allocations: 42.73 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.003472, allocations: 12.84 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.003641, allocations: 145.8 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.003651, allocations: 8.5 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003663, allocations: 12.38 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.003804, allocations: 110.9 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003812, allocations: 0 / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.003823, allocations: 4 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.003828, allocations: 4 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.003902, allocations: 43.92 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.004357, allocations: 419.6 kB / 0.9529 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.004416, allocations: 33.16 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.004456, allocations: 29.78 kB / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.004464, allocations: 0 / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.004493, allocations: 30.56 kB / 0.9529 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.004495, allocations: 0 / 0.9529 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001893/0.004684, allocations: 61.53 kB / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.004734, allocations: 77.11 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.004895, allocations: 184.1 kB / 0.9532 GB, free: 480 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.004907, allocations: 25.95 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.004982, allocations: 116 kB / 0.9534 GB, free: 328 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.004991, allocations: 7.953 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.005024, allocations: 13.72 kB / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.005135, allocations: 326.8 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.005154, allocations: 4 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.00518, allocations: 21.72 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.005224, allocations: 33.64 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.005228, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.296e-05/0.005311, allocations: 65.55 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.005328, allocations: 4 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.005335, allocations: 0 / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.00535, allocations: 0 / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.005428, allocations: 15.98 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.005438, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.005462, allocations: 12.11 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.005467, allocations: 0 / 0.9539 GB, free: 15.79 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 8.204e-05/0.005549, allocations: 122.8 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.005577, allocations: 7.953 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.005608, allocations: 20.55 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.005613, allocations: 4 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005618, allocations: 3.938 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005622, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.005922, allocations: 441.9 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005924, allocations: 0 / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.005937, allocations: 4 kB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.00594, allocations: 3.984 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.005946, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005947, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.005949, allocations: 8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.993e-05/0.006009, allocations: 81.84 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.006032, allocations: 11.94 kB / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006045, allocations: 4.094 kB / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.006057, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.006072, allocations: 11.92 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.006074, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.006145, allocations: 143.2 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006145, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001295/0.006274, 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.0002631/0.006537, allocations: 0.6178 MB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.006622, allocations: 16 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006623, allocations: 0 / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/0.00663, allocations: 7.938 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.00677, allocations: 16.14 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.00773, allocations: 1.405 MB / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.007782, allocations: 80.33 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.007811, 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 0.0001863/0.007998, allocations: 32.48 kB / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of SimCode: time 5.51e-07/0.007998, allocations: 0 / 0.9568 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.02523, allocations: 2.419 MB / 0.9592 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.667, allocations: 6.594 kB / 0.9592 GB, free: 10.23 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.821623239666224]