Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.006879/0.006879, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001711/0.001712, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.412/2.412, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2521, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001832/0.254, allocations: 0.8278 MB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.2541, allocations: 47.78 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.2541, allocations: 4 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.2542, allocations: 11.86 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.2543, allocations: 7.875 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.257e-05/0.2543, allocations: 15.98 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.2544, allocations: 63.84 kB / 1.167 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2545, allocations: 47.95 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.2546, allocations: 23.88 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.2547, allocations: 35.72 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2547, allocations: 8 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.2547, allocations: 8 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.2547, allocations: 15.94 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.2548, allocations: 27.8 kB / 1.167 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2549, allocations: 79.86 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.061e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2549, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 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.0004089/0.2553, allocations: 383.1 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2554, allocations: 8.031 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.2554, allocations: 50.62 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.2554, allocations: 16.83 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2556, allocations: 196.2 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.2557, allocations: 384 / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.2557, allocations: 12.38 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2558, allocations: 91.83 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2558, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2559, allocations: 4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2559, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.2559, allocations: 43.97 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2564, allocations: 436.7 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.2565, allocations: 37.22 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.2566, allocations: 17.88 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.2566, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2566, allocations: 34.56 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2566, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.2567, allocations: 61.52 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2568, allocations: 77.36 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2569, allocations: 158.2 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.257, allocations: 29.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.257, allocations: 104.1 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.2571, allocations: 7.891 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.2571, allocations: 17.72 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2572, allocations: 318.8 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.2572, allocations: 4 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.2573, allocations: 21.72 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.2573, allocations: 33.64 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2573, allocations: 0 / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/0.2574, allocations: 57.61 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2574, allocations: 9.969 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2574, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2575, allocations: 4 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.2575, allocations: 15.98 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2575, allocations: 0 / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.2576, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.2576, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 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.539e-05/0.2576, allocations: 113.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.2577, allocations: 11.89 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.2577, allocations: 11.88 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2577, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.2577, allocations: 11.95 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2577, allocations: 7.984 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.2581, allocations: 470.7 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2581, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.2582, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2582, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2582, allocations: 8 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2582, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2582, allocations: 64 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.2583, allocations: 89.81 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.2584, allocations: 85.06 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.2584, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.2584, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.2584, allocations: 7.984 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2584, allocations: 4.031 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.902e-05/0.2585, allocations: 125.1 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2585, allocations: 0 / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001768/0.2587, allocations: 11.94 kB / 1.17 GB, free: 2.492 MB / 0.92 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.0003814/0.2591, allocations: 0.6171 MB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.2592, allocations: 20 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2592, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.2592, allocations: 7.938 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2593, allocations: 8 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2605, allocations: 1.327 MB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.2608, allocations: 0.6924 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.2608, allocations: 8.422 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.2609, allocations: 31.36 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2609, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.81/2.071, allocations: 1.57 MB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/12.53, allocations: 16.02 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches