Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001093/0.001093, 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.0008459/0.0008459, 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.9138/0.9138, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.905e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001343/0.001362, allocations: 0.8247 MB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.001465, allocations: 51.72 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.00151, allocations: 7.938 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.001543, allocations: 7.875 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.001605, allocations: 27.78 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.665e-05/0.001652, allocations: 19.98 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.001755, allocations: 79.77 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.001875, allocations: 41.27 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.001942, allocations: 43.84 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.001987, allocations: 27.89 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.002009, allocations: 8 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.002016, allocations: 8 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.002034, allocations: 11.94 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.002062, allocations: 31.84 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.002166, allocations: 103.6 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002168, allocations: 0 / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002169, allocations: 0 / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.002172, allocations: 4 kB / 1.001 GB, free: 12.18 MB / 0.9636 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.0003199/0.002492, allocations: 322.1 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.002528, allocations: 8.75 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.00256, allocations: 42.73 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.00258, allocations: 8.891 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.00273, allocations: 145.7 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.00274, allocations: 8.562 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.002753, allocations: 20.31 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.002881, allocations: 108 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.002888, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.002898, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.002903, allocations: 4 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.22e-05/0.002965, allocations: 43.97 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.003346, allocations: 415.6 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.00339, allocations: 41.14 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.003416, allocations: 21.78 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.003422, allocations: 4 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.003439, allocations: 34.56 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.003439, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.003563, allocations: 53.59 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.003598, allocations: 81.09 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.003722, allocations: 179 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.00373, allocations: 25.7 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.003784, allocations: 120.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.00379, allocations: 11.94 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.003815, allocations: 17.97 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.003888, allocations: 326.8 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.003899, allocations: 7.938 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.003916, allocations: 21.72 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.003947, allocations: 25.66 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.00395, allocations: 4 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.315e-05/0.004003, allocations: 61.64 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.004014, allocations: 4 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.004019, allocations: 4 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00403, allocations: 4 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.004074, allocations: 8 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004078, allocations: 0 / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.004098, allocations: 11.89 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.004101, allocations: 0 / 1.003 GB, free: 9.789 MB / 0.9636 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 5.445e-05/0.004156, allocations: 121.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.004177, allocations: 11.91 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.004196, allocations: 12.5 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004197, allocations: 0 / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.0042, allocations: 4 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.004203, allocations: 4 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.004441, allocations: 445.8 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004442, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-06/0.004451, allocations: 4 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004452, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.004457, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004457, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.004459, allocations: 3.938 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.026e-05/0.004509, allocations: 81.88 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.004532, allocations: 27.98 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.004541, allocations: 0 / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.004553, allocations: 8 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.004565, allocations: 3.938 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.004566, allocations: 0 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.691e-05/0.004633, allocations: 133.6 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.004633, allocations: 3.938 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001253/0.004759, allocations: 8 kB / 1.004 GB, free: 8.844 MB / 0.9636 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.0002193/0.004978, allocations: 0.6132 MB / 1.004 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.005045, allocations: 20.02 kB / 1.004 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005046, allocations: 0 / 1.004 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.005054, allocations: 7.938 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.005169, allocations: 11.94 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.00604, allocations: 1.408 MB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.285e-05/0.006093, allocations: 89.16 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.00612, allocations: 12.42 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.006163, allocations: 36.48 kB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.006163, allocations: 0 / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.01918, allocations: 2.399 MB / 1.008 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.872, allocations: 9.906 kB / 1.008 GB, free: 4.234 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.06077007483691]