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.0008046/0.0008046, 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.001167/0.001167, allocations: 169.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.9143/0.9143, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.708/1.708, 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.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 1.492e-06/1.492e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.047e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001347/0.001367, allocations: 0.8374 MB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.751e-05/0.001465, allocations: 55.72 kB / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.001501, allocations: 0 / 0.9514 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.001529, allocations: 15.86 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.001574, allocations: 15.81 kB / 0.9514 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.00161, allocations: 27.91 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.001689, allocations: 83.77 kB / 0.9515 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.001774, allocations: 37.22 kB / 0.9516 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.001824, allocations: 47.89 kB / 0.9516 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.001858, allocations: 19.91 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.001876, allocations: 11.94 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-06/0.001883, allocations: 8 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.0019, allocations: 23.91 kB / 0.9517 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.00192, allocations: 19.94 kB / 0.9517 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.992e-05/0.00201, allocations: 99.59 kB / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002012, allocations: 0 / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002012, allocations: 0 / 0.9518 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002016, allocations: 7.938 kB / 0.9518 GB, free: 2.191 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.0002608/0.002276, allocations: 322.1 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.00231, allocations: 12.03 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.002337, allocations: 42.73 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.535e-05/0.002352, allocations: 12.84 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.00248, allocations: 145.8 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.002489, allocations: 8.562 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.002499, allocations: 8.375 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.002606, allocations: 114.2 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.002612, allocations: 3.984 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.002619, allocations: 8 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.002622, allocations: 0 / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.002678, allocations: 39.98 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.003077, allocations: 423.6 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.172e-05/0.003109, allocations: 37.22 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.003131, allocations: 13.78 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.003137, allocations: 7.938 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.003151, allocations: 34.56 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.003152, allocations: 0 / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 9.221e-05/0.003244, allocations: 65.53 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.003269, allocations: 77.11 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.003377, allocations: 180.1 kB / 0.9533 GB, free: 488 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003385, allocations: 25.7 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.003434, allocations: 112 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.003441, allocations: 11.94 kB / 0.9534 GB, free: 328 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.003462, allocations: 13.72 kB / 0.9534 GB, free: 308 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.003547, allocations: 326.8 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.003556, allocations: 4 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.003571, allocations: 21.97 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.0036, allocations: 37.58 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.003601, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.521e-05/0.003646, allocations: 57.61 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.003655, allocations: 8 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.003658, allocations: 0 / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.003665, allocations: 0 / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.003698, allocations: 15.92 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.003703, allocations: 4.062 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.003719, allocations: 11.89 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-06/0.003721, allocations: 4 kB / 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 4.715e-05/0.003769, allocations: 118.8 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.003789, allocations: 7.953 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.003804, allocations: 16.48 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003806, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.003809, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.003812, allocations: 4 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.004033, allocations: 437.9 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.004034, allocations: 8.172 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-06/0.004041, allocations: 3.938 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.004043, allocations: 4 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.004048, allocations: 3.984 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004048, allocations: 0 / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.004051, allocations: 3.938 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.334e-05/0.004094, allocations: 81.84 kB / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.004114, allocations: 15.94 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.004122, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.004133, allocations: 4 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-06/0.004142, allocations: 11.97 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-07/0.004142, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.004208, allocations: 143.2 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004208, allocations: 0 / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001177/0.004326, allocations: 11.95 kB / 0.9547 GB, free: 14.85 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.0001922/0.004518, allocations: 0.6167 MB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.352e-05/0.004562, allocations: 12 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.004563, allocations: 160 / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.00457, allocations: 11.94 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.565e-05/0.004666, allocations: 11.94 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.005417, 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.22e-05/0.005459, allocations: 80.33 kB / 0.9568 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.00548, allocations: 12.61 kB / 0.9568 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.005512, allocations: 28.48 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.005513, allocations: 7.938 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.01829, allocations: 2.397 MB / 0.9592 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.649, allocations: 22.02 kB / 0.9592 GB, free: 10.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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.784342398867011]