Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001464/0.001464, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001531/0.001531, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7629, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001922/0.7648, allocations: 0.8395 MB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.7649, allocations: 36.39 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.765, allocations: 5.469 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.765, allocations: 9.609 kB / 1.272 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.7651, allocations: 11.17 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.74e-05/0.7651, allocations: 19.7 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.7653, allocations: 60.08 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.7654, allocations: 34.62 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.7654, allocations: 22.67 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.7655, allocations: 29.89 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.7655, allocations: 5.812 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.7655, allocations: 6.5 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.7655, allocations: 24.27 kB / 1.272 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.7655, allocations: 33.38 kB / 1.273 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.7657, allocations: 76.12 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7657, allocations: 0.8438 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7657, allocations: 0 / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7657, allocations: 0 / 1.273 GB, free: 6.922 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.0003283/0.766, allocations: 376.6 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.766, allocations: 9.656 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.7661, allocations: 38.95 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.7661, allocations: 22.42 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.7662, allocations: 200.2 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.7663, allocations: 11.69 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.7663, allocations: 5.578 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.7664, allocations: 90.62 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7664, allocations: 4.75 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.7664, allocations: 0.7188 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7664, allocations: 2.125 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.7665, allocations: 48.22 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.7669, allocations: 433.8 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.7669, allocations: 41.64 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.767, allocations: 24.11 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.767, allocations: 0.7188 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.767, allocations: 32.88 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.767, allocations: 0 / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001538/0.7672, allocations: 56.53 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.7672, allocations: 78.62 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.7673, allocations: 164.5 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-06/0.7673, allocations: 25.7 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.7673, allocations: 104.3 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.7674, allocations: 9.797 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.7674, allocations: 13.03 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.7674, allocations: 320.2 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.7674, allocations: 7.375 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.7675, allocations: 21.52 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.7675, allocations: 30.78 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.7675, allocations: 0 / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.88e-05/0.7676, allocations: 56.45 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7676, allocations: 10.09 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7676, allocations: 0.8125 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7676, allocations: 0.6875 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.7676, allocations: 6.156 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.7676, allocations: 5.75 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.7677, allocations: 10.53 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.7677, allocations: 5.094 kB / 1.275 GB, free: 4.789 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 4.451e-05/0.7677, allocations: 110.9 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.7678, allocations: 15.97 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.7678, allocations: 12 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7678, allocations: 0.9688 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7678, allocations: 0.9375 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7678, allocations: 1.484 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.768, allocations: 478.2 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.768, allocations: 2.672 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.7681, allocations: 3.875 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7681, allocations: 1.344 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.7681, allocations: 0 / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7681, allocations: 5.188 kB / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7681, allocations: 0 / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.699e-05/0.7681, allocations: 84.31 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.7682, allocations: 98.67 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.7682, allocations: 1.5 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.7682, allocations: 0.6875 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.7682, allocations: 1.516 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.7682, allocations: 2.219 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.7683, allocations: 126.2 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7683, allocations: 0 / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001732/0.7685, allocations: 7 kB / 1.276 GB, free: 3.867 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.0002044/0.7687, allocations: 0.6213 MB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.7687, allocations: 17.19 kB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7687, allocations: 0.9688 kB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.7687, allocations: 4 kB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.7689, allocations: 13.89 kB / 1.276 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.7698, allocations: 1.341 MB / 1.278 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.7701, allocations: 0.6921 MB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.7701, allocations: 6.047 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.7702, allocations: 27.14 kB / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7702, allocations: 0 / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.7916, allocations: 1.563 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.809, allocations: 13.95 kB / 1.28 GB, free: 16.9 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.034744441999464]