Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.00439/0.004394, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001215/0.001215, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437.1 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 64.11 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6283, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001716/0.6301, allocations: 0.8291 MB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.6302, allocations: 39.78 kB / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.6303, allocations: 0 / 1.167 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.6303, allocations: 11.86 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.6304, allocations: 19.81 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.23e-05/0.6304, allocations: 19.98 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.6305, allocations: 55.84 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6307, allocations: 47.95 kB / 1.167 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.6307, allocations: 23.88 kB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.6308, allocations: 39.78 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.6308, allocations: 4 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.6308, allocations: 8 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.6308, allocations: 7.938 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.6309, allocations: 35.8 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.631, allocations: 71.36 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.631, allocations: 0 / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.946e-06/0.631, allocations: 4 kB / 1.167 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.631, allocations: 0 / 1.167 GB, free: 2.574 MB / 0.8887 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.0004044/0.6314, allocations: 383.1 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6315, allocations: 12.92 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.6315, allocations: 38.69 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.6315, allocations: 24.77 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.6317, allocations: 188.2 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6318, allocations: 8.375 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.6318, allocations: 4.375 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.6319, allocations: 101 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6319, allocations: 3.938 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.632, allocations: 8 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.632, allocations: 0 / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.632, allocations: 35.97 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.6325, allocations: 440.7 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.6326, allocations: 41.16 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.6326, allocations: 21.84 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6327, allocations: 4.078 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.6327, allocations: 38.5 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6327, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.6329, allocations: 61.73 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.6329, allocations: 81.14 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.6331, allocations: 160.9 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.6331, allocations: 25.7 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.6331, allocations: 100.1 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.6332, allocations: 7.953 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.6332, allocations: 13.72 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6333, allocations: 326.8 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.6334, allocations: 12 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.6334, allocations: 13.72 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.6334, allocations: 33.64 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6334, allocations: 0 / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.304e-05/0.6335, allocations: 53.61 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6335, allocations: 11.94 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6336, allocations: 4.062 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6336, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.6336, allocations: 19.86 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.6336, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.6337, allocations: 3.938 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6337, allocations: 8 kB / 1.17 GB, free: 68 kB / 0.8887 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.348e-05/0.6338, allocations: 112 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.6338, allocations: 11.89 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.6338, allocations: 7.875 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6339, allocations: 8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6339, allocations: 3.984 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6339, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.6343, allocations: 474.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6343, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.829e-05/0.6343, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.6343, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.6343, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6343, allocations: 4.062 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6343, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.061e-05/0.6344, allocations: 81.81 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.6345, allocations: 85.06 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.6345, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.6345, allocations: 0 / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.6345, allocations: 8.016 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6345, allocations: 4 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.6346, allocations: 117.9 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6346, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001697/0.6348, allocations: 8 kB / 1.17 GB, free: 15.03 MB / 0.9044 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.000375/0.6352, allocations: 0.621 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.183e-05/0.6353, allocations: 16 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6353, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.6353, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.6354, allocations: 11.94 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.6366, allocations: 1.343 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.6369, allocations: 0.6885 MB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.6369, allocations: 8.422 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.637, allocations: 27.42 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.637, allocations: 3.938 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.129/2.766, allocations: 1.579 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.615/12.38, allocations: 10.39 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches