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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008212, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005519/0.005519, allocations: 172.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005425/0.0005425, allocations: 12.28 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.297, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0009493/0.298, allocations: 0.5453 MB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.2981, allocations: 39.78 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.2982, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.2982, allocations: 7.938 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.2983, allocations: 11.92 kB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.2e-05/0.2984, allocations: 8 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.2985, allocations: 59.84 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2986, allocations: 43.94 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.2986, allocations: 15.86 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.2987, allocations: 19.81 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2987, allocations: 8 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-06/0.2987, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2987, allocations: 15.92 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.2988, allocations: 49.45 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.216e-05/0.2989, allocations: 67.97 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2989, allocations: 0 / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2989, allocations: 3.984 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2989, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 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.0003611/0.2993, allocations: 363.3 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2993, allocations: 15.97 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.2994, allocations: 38.75 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.2994, allocations: 8.844 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2996, allocations: 200.1 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.2996, allocations: 384 / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2997, allocations: 16.31 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2998, allocations: 83.95 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2998, allocations: 3.938 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2998, allocations: 8 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2998, allocations: 7.938 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.2999, allocations: 39.92 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.3004, allocations: 436.5 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.3005, allocations: 41.28 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.3005, allocations: 21.84 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.3006, allocations: 0 / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3006, allocations: 30.56 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.255e-06/0.3006, allocations: 3.984 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001639/0.3008, allocations: 69.47 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3008, allocations: 77.11 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.301, allocations: 170.2 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.301, allocations: 25.7 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.3011, allocations: 107.9 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.3011, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.3011, allocations: 9.719 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3012, allocations: 322.8 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.3012, allocations: 12.25 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.3013, allocations: 13.72 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.3013, allocations: 25.72 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3013, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.375e-05/0.3014, allocations: 61.53 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3014, allocations: 7.938 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3014, allocations: 4.062 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3014, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.3015, allocations: 8 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3015, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.3016, allocations: 19.83 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.3016, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 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 8.106e-05/0.3017, allocations: 117.8 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.3017, allocations: 11.84 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.3017, allocations: 7.875 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3017, allocations: 4 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3017, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3018, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.3021, allocations: 474.8 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3021, allocations: 3.938 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.3022, allocations: 7.938 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3022, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.3022, allocations: 4.062 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3022, allocations: 4 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3022, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.3023, allocations: 77.83 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3023, allocations: 92.92 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.3023, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.3024, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3024, allocations: 7.969 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3024, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.3025, allocations: 119.2 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001825/0.3027, allocations: 8 kB / 1.063 GB, free: 480 kB / 0.8106 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.0003508/0.303, allocations: 0.6132 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.3031, allocations: 23.92 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3031, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.3031, allocations: 8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3033, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3044, allocations: 1.337 MB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3046, allocations: 0.7004 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.3047, allocations: 4.438 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.3047, allocations: 31.36 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3047, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.3148, allocations: 1.37 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.315, allocations: 228.6 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.903, allocations: 2.672 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches