Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00183/0.00183, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002333/0.002333, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.657/1.657, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.048/3.048, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",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.002279/0.002279, allocations: 67.89 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003043/1.142, allocations: 0.8846 MB / 1.341 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00021/1.143, allocations: 58.95 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/1.143, allocations: 2.25 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.258e-05/1.143, allocations: 10.31 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/1.143, allocations: 18.08 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.82e-05/1.143, allocations: 22.72 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/1.143, allocations: 83.92 kB / 1.341 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/1.143, allocations: 35.69 kB / 1.341 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/1.144, allocations: 37.92 kB / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/1.144, allocations: 36.17 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/1.144, allocations: 8.562 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/1.144, allocations: 11.16 kB / 1.341 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/1.144, allocations: 22.11 kB / 1.341 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/1.144, allocations: 43.06 kB / 1.341 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/1.144, allocations: 105.2 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.144, allocations: 0.6562 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.085e-06/1.144, allocations: 1.062 kB / 1.341 GB, free: 15.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.771e-05/1.144, allocations: 0 / 1.341 GB, free: 15.37 MB / 1.061 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.0006264/1.145, allocations: 399.8 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/1.145, allocations: 10.34 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.134e-05/1.145, allocations: 10.78 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/1.145, allocations: 47.88 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/1.145, allocations: 14.22 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/1.145, allocations: 202.4 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/1.145, allocations: 7.875 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/1.145, allocations: 14.59 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.146, allocations: 99.73 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.146, allocations: 4 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.146, allocations: 5 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.146, allocations: 2.25 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/1.146, allocations: 48.73 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/1.146, allocations: 466.1 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/1.147, allocations: 45.7 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/1.147, allocations: 20.34 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/1.147, allocations: 0 / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.147, allocations: 32.42 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.147, allocations: 1.125 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002229/1.147, allocations: 57.48 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.147, allocations: 82.94 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/1.147, allocations: 193.7 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.147, allocations: 25.7 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/1.147, allocations: 105.9 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/1.147, allocations: 8.5 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/1.147, allocations: 18.92 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/1.147, allocations: 320.8 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/1.147, allocations: 11.48 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/1.147, allocations: 20.41 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/1.147, allocations: 31.3 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.147, allocations: 0 / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.127e-05/1.148, allocations: 62.33 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.148, allocations: 4.906 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.148, allocations: 5.641 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.148, allocations: 1.062 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/1.148, allocations: 5.547 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.148, allocations: 6.453 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/1.148, allocations: 2.656 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.148, allocations: 1.188 kB / 1.344 GB, free: 13.18 MB / 1.061 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.203e-05/1.148, allocations: 118.8 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/1.148, allocations: 13.28 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/1.148, allocations: 9.922 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.148, allocations: 4.875 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.148, allocations: 5.953 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.148, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/1.148, allocations: 483.8 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.148, allocations: 1.469 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/1.148, allocations: 7.172 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.148, allocations: 6.156 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/1.148, allocations: 4.062 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.148, allocations: 1.281 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.148, allocations: 0.6562 kB / 1.344 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/1.148, allocations: 81.61 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/1.148, allocations: 96.64 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/1.148, allocations: 1.812 kB / 1.345 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/1.149, allocations: 4.031 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/1.149, allocations: 1.75 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/1.149, allocations: 5.219 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001374/1.149, allocations: 132.9 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.149, allocations: 0 / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001996/1.149, allocations: 8.812 kB / 1.345 GB, free: 12.25 MB / 1.061 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.0003135/1.149, allocations: 0.6233 MB / 1.345 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001083/1.149, allocations: 15.8 kB / 1.345 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.149, allocations: 0 / 1.345 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/1.149, allocations: 12.12 kB / 1.345 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/1.149, allocations: 8.766 kB / 1.345 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.151, allocations: 1.415 MB / 1.347 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/1.151, allocations: 0.6979 MB / 1.347 GB, free: 9.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.214e-05/1.151, allocations: 13.16 kB / 1.347 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/1.151, allocations: 26.02 kB / 1.347 GB, free: 9.637 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.151, allocations: 0 / 1.347 GB, free: 9.637 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/1.17, allocations: 1.789 MB / 1.349 GB, free: 9.242 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.663, allocations: 5.672 kB / 1.349 GB, free: 9.242 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.65156558196759]