Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.0007814/0.0007814, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007873/0.0007873, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8849/0.8849, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.72/1.72, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.548e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002075/0.0021, allocations: 0.7946 MB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.002232, allocations: 43.78 kB / 1 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.002289, allocations: 3.938 kB / 1 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.002329, allocations: 7.922 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.002416, allocations: 15.88 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.491e-05/0.002461, allocations: 11.98 kB / 1.001 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.00258, allocations: 63.78 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.002715, allocations: 35.95 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.00279, allocations: 35.91 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.002844, allocations: 15.92 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.002872, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.002882, allocations: 12 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.002904, allocations: 19.91 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.002933, allocations: 15.94 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.00305, allocations: 71.75 kB / 1.001 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.003052, allocations: 3.938 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003054, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003057, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 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.0003902/0.003447, allocations: 302 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.003496, allocations: 8.75 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.003539, allocations: 46.67 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.003567, allocations: 12.89 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.003757, allocations: 137.7 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.003769, allocations: 4.375 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.003783, allocations: 8.375 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.003939, allocations: 95.8 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.003948, allocations: 192 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.003958, allocations: 4.375 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.003964, allocations: 4.125 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.00405, allocations: 43.91 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.004581, allocations: 387.8 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.00464, allocations: 41.22 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.004677, allocations: 21.8 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.004685, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.004717, allocations: 38.56 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.004719, allocations: 3.984 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.004903, allocations: 49.59 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.00495, allocations: 85.05 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.005095, allocations: 160.8 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.005106, allocations: 29.95 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.005264, allocations: 104 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.005273, allocations: 7.891 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.00531, allocations: 17.72 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005411, allocations: 322.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.005429, allocations: 4 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.005455, allocations: 21.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.005498, allocations: 25.66 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0055, allocations: 0 / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.052e-05/0.005591, allocations: 69.59 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.005608, allocations: 7.984 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005613, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.005626, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.005693, allocations: 15.88 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.005699, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.005727, allocations: 7.891 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.005732, allocations: 4 kB / 1.003 GB, free: 10.02 MB / 0.9636 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 7.303e-05/0.005805, allocations: 113.8 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.005845, allocations: 7.953 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.005871, allocations: 19.86 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005873, allocations: 0 / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.005879, allocations: 3.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005881, allocations: 0 / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.006233, allocations: 429.9 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006236, allocations: 0 / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.006265, allocations: 7.938 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.006268, allocations: 0 / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006275, allocations: 4 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.006277, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006279, allocations: 4.062 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.006356, allocations: 78.66 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.006384, allocations: 19.84 kB / 1.003 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.006398, allocations: 7.984 kB / 1.003 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.006415, allocations: 0 / 1.003 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.006426, allocations: 0 / 1.003 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006428, allocations: 0 / 1.003 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.006503, allocations: 121.5 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.006503, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001876/0.00669, allocations: 12 kB / 1.004 GB, free: 9.125 MB / 0.9636 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.0003007/0.006991, allocations: 0.6132 MB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.00708, allocations: 16 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007083, allocations: 0 / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.007092, allocations: 7.938 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.007277, allocations: 15.73 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.008363, allocations: 1.344 MB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.354e-05/0.008416, allocations: 83.31 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.008448, allocations: 8.484 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.0085, allocations: 28.48 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.008501, allocations: 3.938 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02267, allocations: 2.233 MB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/6.528, allocations: 8.047 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.510869009420276]