Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.47/2.47, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 79.88 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.764, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001713/0.7657, allocations: 0.8376 MB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.125e-05/0.7658, allocations: 40.94 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.7658, allocations: 1.469 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.7659, allocations: 9.656 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.7659, allocations: 10.69 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.952e-05/0.766, allocations: 20.45 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.7661, allocations: 62.61 kB / 1.272 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7662, allocations: 36.05 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.7662, allocations: 25.36 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.7663, allocations: 26.75 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.7663, allocations: 5.812 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.7663, allocations: 6.062 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.7663, allocations: 16.2 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.7663, allocations: 37.16 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.7664, allocations: 76.42 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7664, allocations: 4.594 kB / 1.273 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7664, allocations: 8.656 kB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7665, allocations: 0 / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002864/0.7667, allocations: 377 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.7668, allocations: 9.719 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.7668, allocations: 38.94 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.7668, allocations: 13.59 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.7669, allocations: 196.4 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.767, allocations: 11.59 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.767, allocations: 5.594 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7671, allocations: 90.98 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7671, allocations: 3.938 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.7671, allocations: 0.8438 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7671, allocations: 2.844 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.7672, allocations: 39.7 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.7676, allocations: 438.1 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.7676, allocations: 45.58 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.7676, allocations: 20.23 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.7676, allocations: 4.688 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.7676, allocations: 32.81 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7676, allocations: 0 / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001349/0.7678, allocations: 56.89 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.7678, allocations: 82.62 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.7679, allocations: 157.6 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.7679, allocations: 27.11 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.7679, allocations: 109.4 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.7679, allocations: 9.703 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.768, allocations: 12.84 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.768, allocations: 319.9 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.768, allocations: 10.14 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.768, allocations: 22.8 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.7681, allocations: 30.88 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.7681, allocations: 0 / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.626e-05/0.7681, allocations: 62.62 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7681, allocations: 11.34 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.7681, allocations: 0 / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.7682, allocations: 1.438 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.7682, allocations: 5.688 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7682, allocations: 5.625 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.7682, allocations: 6.219 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.7682, allocations: 4.719 kB / 1.275 GB, free: 4.859 MB / 0.9981 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 3.797e-05/0.7683, allocations: 121.8 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.7683, allocations: 16.92 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.7683, allocations: 11.98 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7683, allocations: 0.8438 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7683, allocations: 2.484 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.7683, allocations: 0.6562 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.7686, allocations: 475.1 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7686, allocations: 0 / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.7686, allocations: 3.375 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7686, allocations: 1.094 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.7686, allocations: 0.75 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7686, allocations: 2.781 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7686, allocations: 0.7812 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.072e-05/0.7687, allocations: 79.64 kB / 1.275 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.7687, allocations: 91 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.7687, allocations: 5.656 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.7687, allocations: 0 / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.7687, allocations: 2.406 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.7687, allocations: 0.875 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.7688, allocations: 119.9 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7688, allocations: 5.031 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001898/0.769, allocations: 8.25 kB / 1.276 GB, free: 3.941 MB / 0.9981 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.0001921/0.7692, allocations: 0.6111 MB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.7692, allocations: 25.89 kB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7692, allocations: 0 / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.7692, allocations: 3.812 kB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.7694, allocations: 11.03 kB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.7702, allocations: 1.337 MB / 1.278 GB, free: 18.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.7705, allocations: 0.6961 MB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.7705, allocations: 6.141 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.7705, allocations: 28.09 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.7705, allocations: 0 / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.7924, allocations: 1.57 MB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.732, allocations: 5.812 kB / 1.28 GB, free: 16.98 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_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_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 13.057925982997403]