Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001417/0.001417, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001578/0.001578, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 3.082/3.082, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 71.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002088/1.127, allocations: 0.8345 MB / 1.341 GB, free: 15.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/1.127, allocations: 40.11 kB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/1.127, allocations: 1.75 kB / 1.341 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/1.127, allocations: 9.703 kB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/1.127, allocations: 17.8 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.532e-05/1.128, allocations: 16.69 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/1.128, allocations: 59.28 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/1.128, allocations: 35.06 kB / 1.341 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/1.128, allocations: 35.2 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/1.128, allocations: 26.56 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/1.128, allocations: 6.344 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/1.128, allocations: 5.438 kB / 1.341 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/1.128, allocations: 13.27 kB / 1.341 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/1.128, allocations: 35.67 kB / 1.341 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/1.128, allocations: 85.03 kB / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.128, allocations: 1.594 kB / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.128, allocations: 0 / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.128, allocations: 0 / 1.341 GB, free: 15.51 MB / 1.061 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.0003304/1.128, allocations: 379.9 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.128, allocations: 11.02 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/1.128, allocations: 1.531 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.155e-05/1.128, allocations: 39.59 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/1.128, allocations: 9.953 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.129, allocations: 204.4 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.129, allocations: 7.375 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/1.129, allocations: 9.406 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/1.129, allocations: 98.02 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.129, allocations: 1.125 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/1.129, allocations: 5.062 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.129, allocations: 1.219 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/1.129, allocations: 44.48 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/1.129, allocations: 434.3 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/1.129, allocations: 41.36 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.129, allocations: 20.27 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/1.129, allocations: 4 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/1.129, allocations: 36.23 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.129, allocations: 1.156 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/1.13, allocations: 53.19 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.13, allocations: 81.11 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/1.13, allocations: 156.9 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/1.13, allocations: 29.7 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/1.13, allocations: 108 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/1.13, allocations: 9.953 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/1.13, allocations: 17.67 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/1.13, allocations: 320.3 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/1.13, allocations: 3.375 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/1.13, allocations: 20.69 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/1.13, allocations: 30.12 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.13, allocations: 1.188 kB / 1.343 GB, free: 13.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.382e-05/1.13, allocations: 61.08 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.13, allocations: 9.781 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.13, allocations: 2.297 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.13, allocations: 0 / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/1.13, allocations: 6.797 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.13, allocations: 4.062 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/1.13, allocations: 11.02 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/1.13, allocations: 2.359 kB / 1.344 GB, free: 13.38 MB / 1.061 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.934e-05/1.13, allocations: 113.5 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/1.13, allocations: 15.73 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/1.13, allocations: 13.48 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.13, allocations: 0 / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.13, allocations: 1.531 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.13, allocations: 0.7969 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.131, allocations: 474.5 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.131, allocations: 1.75 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/1.131, allocations: 2.391 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.131, allocations: 1.812 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/1.131, allocations: 0.75 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.131, allocations: 1.812 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.131, allocations: 3.938 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.211e-05/1.131, allocations: 84.77 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/1.131, allocations: 86.97 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.131, allocations: 4.688 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/1.131, allocations: 1.812 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/1.131, allocations: 0.7969 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/1.131, allocations: 1.781 kB / 1.344 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.726e-05/1.131, allocations: 133.5 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 0 / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001868/1.131, allocations: 6.75 kB / 1.344 GB, free: 12.46 MB / 1.061 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.0002335/1.131, allocations: 0.6201 MB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.583e-05/1.131, allocations: 15.36 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.131, allocations: 1.031 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/1.131, allocations: 8.406 kB / 1.345 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/1.131, allocations: 13.67 kB / 1.345 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/1.132, allocations: 1.332 MB / 1.346 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/1.133, allocations: 0.6925 MB / 1.347 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.208e-05/1.133, allocations: 6.641 kB / 1.347 GB, free: 9.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/1.133, allocations: 26.56 kB / 1.347 GB, free: 9.887 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.133, allocations: 0 / 1.347 GB, free: 9.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/1.15, allocations: 1.646 MB / 1.349 GB, free: 9.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.501, allocations: 14.12 kB / 1.349 GB, free: 9.504 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.403195408987813]