Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008892/0.0008892, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008949/0.0008949, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8924/0.8924, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.68 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.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.296e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001534/0.001556, allocations: 0.7869 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001004/0.001657, allocations: 43.72 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.001698, allocations: 0 / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.001732, allocations: 15.86 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.001803, allocations: 7.875 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.314e-05/0.001846, allocations: 19.98 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.001938, allocations: 59.83 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.002055, allocations: 31.97 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.002131, allocations: 39.91 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.002167, allocations: 15.92 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.002189, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.002195, allocations: 4 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.002215, allocations: 19.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.00224, allocations: 19.94 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.002335, allocations: 75.62 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002337, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.703e-06/0.002339, allocations: 4 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.002343, allocations: 0 / 1.001 GB, free: 12.33 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.0003209/0.002664, allocations: 306 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.002702, allocations: 12.75 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.002731, allocations: 34.75 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.002752, allocations: 12.89 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.002888, allocations: 129.6 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.002898, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.002907, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.003017, allocations: 97.56 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003025, allocations: 192 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.003034, allocations: 4.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.003041, allocations: 12.12 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.003094, allocations: 35.92 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.003466, allocations: 387.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.003509, allocations: 41.27 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.003534, allocations: 21.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.003541, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.003556, allocations: 30.56 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003557, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.003676, allocations: 57.59 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.00371, allocations: 92.97 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.003808, allocations: 153.6 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-06/0.003816, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.003863, allocations: 115.9 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.00387, allocations: 11.89 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.003894, allocations: 17.7 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.003957, allocations: 314.8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.00397, allocations: 8 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.003985, allocations: 21.95 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.004015, allocations: 33.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004017, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.187e-05/0.004069, allocations: 61.58 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004079, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.004084, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.004094, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.004139, allocations: 7.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.004143, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.00416, allocations: 12.02 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-06/0.004163, allocations: 0 / 1.003 GB, free: 10.06 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 4.724e-05/0.004211, allocations: 117.8 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.004231, allocations: 7.953 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.004247, allocations: 11.8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.004248, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.004252, allocations: 3.938 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.004255, allocations: 4 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.004482, allocations: 433.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004483, allocations: 4.062 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.004492, allocations: 7.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.004493, allocations: 96 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.004497, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004498, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.442e-05/0.004532, allocations: 7.969 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.54e-05/0.004578, allocations: 74.73 kB / 1.003 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.004595, allocations: 19.83 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.004604, allocations: 0 / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.004615, allocations: 7.938 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.004631, allocations: 4 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.004633, allocations: 4.031 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.004687, allocations: 121.5 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004687, allocations: 3.938 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00012/0.004807, allocations: 11.94 kB / 1.004 GB, free: 9.148 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.0001884/0.004995, allocations: 0.6093 MB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.915e-05/0.005054, allocations: 15.94 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.005057, allocations: 4 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.005063, allocations: 4.156 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.00517, allocations: 15.88 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.005926, allocations: 1.35 MB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.899e-05/0.005965, allocations: 75.33 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.00599, allocations: 12.47 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.006024, allocations: 24.62 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.006025, allocations: 0 / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.01932, allocations: 2.229 MB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.459, allocations: 9.594 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.487706300802529]