Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001958/0.001958, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002276/0.002276, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.853/2.853, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 75.88 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.8227, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002215/0.8249, allocations: 0.8458 MB / 1.27 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.8251, allocations: 43.8 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.8251, allocations: 0 / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.8252, allocations: 7.875 kB / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.8253, allocations: 15.84 kB / 1.27 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.751e-05/0.8253, allocations: 15.98 kB / 1.27 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.8254, allocations: 63.84 kB / 1.27 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.8256, allocations: 31.94 kB / 1.27 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.8256, allocations: 27.86 kB / 1.27 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.8257, allocations: 31.84 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.8257, allocations: 4 kB / 1.27 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.8257, allocations: 11.94 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.8257, allocations: 15.94 kB / 1.27 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.8258, allocations: 31.78 kB / 1.27 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.8259, allocations: 73.48 kB / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8259, allocations: 0 / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8259, allocations: 0 / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.8259, allocations: 0 / 1.27 GB, free: 3.977 MB / 0.9669 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.0004999/0.8264, allocations: 391 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8265, allocations: 8.031 kB / 1.27 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.8265, allocations: 38.75 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.8265, allocations: 16.84 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.8268, allocations: 196.1 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.8268, allocations: 4.375 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.8268, allocations: 12.38 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.827, allocations: 90.23 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.827, allocations: 7.938 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.827, allocations: 4 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.827, allocations: 4 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.8271, allocations: 35.98 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.8276, allocations: 440.7 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.264e-05/0.8277, allocations: 45.22 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.8277, allocations: 13.78 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.8277, allocations: 3.984 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.8278, allocations: 38.59 kB / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.8278, allocations: 0 / 1.271 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001916/0.828, allocations: 65.73 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.828, allocations: 77.11 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8282, allocations: 156.7 kB / 1.272 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.8282, allocations: 29.7 kB / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.8283, allocations: 100.1 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.8283, allocations: 3.953 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.8283, allocations: 21.67 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8285, allocations: 322.8 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.8285, allocations: 8.031 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.8285, allocations: 17.72 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.8286, allocations: 25.66 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8286, allocations: 0 / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.888e-05/0.8287, allocations: 61.64 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8287, allocations: 7.938 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.8287, allocations: 8 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8287, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.8288, allocations: 11.94 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8288, allocations: 0 / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.8288, allocations: 7.938 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.8288, allocations: 0 / 1.272 GB, free: 1.477 MB / 0.9669 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 9.21e-05/0.8289, allocations: 117.8 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.8289, allocations: 11.89 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.829, allocations: 11.81 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.829, allocations: 8 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.829, allocations: 0 / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.829, allocations: 0 / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.8294, allocations: 470.7 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.8294, allocations: 4 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.8294, allocations: 7.984 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8294, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.8295, allocations: 4.062 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8295, allocations: 4 kB / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8295, allocations: 0 / 1.273 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.674e-05/0.8296, allocations: 81.83 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.8296, allocations: 89.05 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.8296, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.8297, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.8297, allocations: 4.031 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.8297, allocations: 4 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001051/0.8298, allocations: 126.1 kB / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8298, allocations: 0 / 1.273 GB, free: 448 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000192/0.83, allocations: 4 kB / 1.273 GB, free: 444 kB / 0.9669 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.0004394/0.8304, allocations: 0.6215 MB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.8305, allocations: 19.98 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8305, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.8305, allocations: 7.938 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.8307, allocations: 9.969 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.832, allocations: 1.331 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.8323, allocations: 0.6929 MB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.8324, allocations: 12.36 kB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.8324, allocations: 23.44 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.8324, allocations: 4 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.857, allocations: 1.594 MB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/9.168, allocations: 9.328 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 15.398750239983201]