Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001427/0.001427, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001323/0.001323, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.347/1.347, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] 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.574/2.574, allocations: 476.7 MB / 0.7629 GB, free: 15.19 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.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8924, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001841/0.8942, allocations: 0.8433 MB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.803e-05/0.8943, allocations: 41.98 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.8943, allocations: 1.469 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.8944, allocations: 5.578 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.8945, allocations: 13.06 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.363e-05/0.8945, allocations: 21.2 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.8946, allocations: 63.03 kB / 1.272 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.8947, allocations: 35.16 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.8948, allocations: 27.44 kB / 1.273 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.8948, allocations: 26.02 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.8948, allocations: 6.312 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.8948, allocations: 5.906 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.8949, allocations: 21.14 kB / 1.273 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.8949, allocations: 32.81 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.895, allocations: 76.06 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.895, allocations: 0.875 kB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.895, allocations: 0 / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.895, allocations: 0 / 1.273 GB, free: 6.938 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.0003305/0.8954, allocations: 380.6 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8954, allocations: 14.05 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.8954, allocations: 39.36 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.8955, allocations: 13.38 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8956, allocations: 201 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.8956, allocations: 7 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.8956, allocations: 6.156 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8958, allocations: 94.14 kB / 1.273 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8958, allocations: 4.625 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.8958, allocations: 0.875 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8958, allocations: 2.281 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.8959, allocations: 40.05 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.8963, allocations: 430 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.054e-05/0.8963, allocations: 49.59 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.8963, allocations: 20.48 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8964, allocations: 0 / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.8964, allocations: 33 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8964, allocations: 0 / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.8965, allocations: 61.2 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.8965, allocations: 78.31 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.8967, allocations: 158.1 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.8967, allocations: 26.8 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.8967, allocations: 104.3 kB / 1.274 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-06/0.8967, allocations: 9.078 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.8967, allocations: 14.06 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.8968, allocations: 334.1 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.8968, allocations: 6.938 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.8968, allocations: 20.03 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.8969, allocations: 27.06 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8969, allocations: 0 / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.242e-05/0.8969, allocations: 58.34 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8969, allocations: 14.81 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.897, allocations: 0.9375 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.897, allocations: 4.75 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.897, allocations: 7.219 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.897, allocations: 0.9375 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.897, allocations: 6 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.8971, allocations: 1.906 kB / 1.275 GB, free: 4.809 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.507e-05/0.8971, allocations: 113.6 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.8971, allocations: 16.25 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.8972, allocations: 19.84 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.8972, allocations: 0.875 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8972, allocations: 8.078 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8972, allocations: 0.8125 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.8974, allocations: 468 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8974, allocations: 0.8125 kB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.8975, allocations: 8.031 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8975, allocations: 4.906 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.8975, allocations: 0.8438 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8975, allocations: 0.8125 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.8975, allocations: 0.9375 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.8975, allocations: 77.95 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.8976, allocations: 91.08 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.8976, allocations: 5.781 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.8976, allocations: 0.7812 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.8976, allocations: 0.8438 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.8976, allocations: 1 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.178e-05/0.8977, allocations: 125 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8977, allocations: 1.062 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001806/0.8979, allocations: 6.188 kB / 1.276 GB, free: 3.887 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.0002405/0.8981, allocations: 0.6183 MB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.8982, allocations: 17.69 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8982, allocations: 0.8438 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.8982, allocations: 3.75 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.8984, allocations: 25.36 kB / 1.276 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.8994, allocations: 1.35 MB / 1.278 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.8997, allocations: 0.6893 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.8997, allocations: 8.312 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.8998, allocations: 29.11 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8998, allocations: 0 / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7975/1.697, allocations: 1.564 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.87, allocations: 12.16 kB / 1.28 GB, free: 16.91 MB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 19.713609320984688]