Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.005679/0.005679, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.00137/0.00137, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.14 kB / 0.9504 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2332, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001736/0.235, allocations: 0.8098 MB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.2351, allocations: 51.78 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.2351, allocations: 0 / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.2352, allocations: 11.86 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.2353, allocations: 3.938 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.676e-05/0.2353, allocations: 19.98 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.2354, allocations: 67.77 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2356, allocations: 47.95 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.2356, allocations: 27.86 kB / 1.089 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.2357, allocations: 23.86 kB / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2357, allocations: 8 kB / 1.089 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.2357, allocations: 4 kB / 1.089 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.2357, allocations: 15.92 kB / 1.089 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2358, allocations: 35.75 kB / 1.089 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2359, allocations: 83.8 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2359, allocations: 0 / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2359, allocations: 0 / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2359, allocations: 3.984 kB / 1.089 GB, free: 0.9062 MB / 0.8419 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.0003709/0.2363, allocations: 379.1 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2363, allocations: 12.03 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2364, allocations: 38.73 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2364, allocations: 12.83 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2366, allocations: 200.2 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2366, allocations: 8.375 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2366, allocations: 4.375 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2368, allocations: 89.52 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2368, allocations: 3.938 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2368, allocations: 11.98 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2368, allocations: 0 / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.2369, allocations: 35.92 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.2374, allocations: 440.6 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.047e-05/0.2374, allocations: 37.28 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.2375, allocations: 21.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.2375, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2375, allocations: 34.55 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2375, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.2377, allocations: 53.53 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2377, allocations: 81.11 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2379, allocations: 165.2 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2379, allocations: 25.95 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2379, allocations: 108 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.238, allocations: 15.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.238, allocations: 13.72 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.2381, allocations: 322.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.2381, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2381, allocations: 21.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.2382, allocations: 29.72 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2382, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.992e-05/0.2383, allocations: 53.59 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2383, allocations: 11.94 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2383, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2383, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2384, allocations: 7.984 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2384, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.2384, allocations: 8.016 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2384, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 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 6.261e-05/0.2385, allocations: 113.8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.2385, allocations: 11.89 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2386, allocations: 15.86 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2386, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.2386, allocations: 8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2386, allocations: 3.938 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.239, allocations: 474.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.239, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.239, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.239, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.239, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.239, allocations: 3.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.239, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.143e-05/0.2391, allocations: 81.94 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.2391, allocations: 89.06 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2392, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.2392, allocations: 3.984 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.2392, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.2392, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.2393, allocations: 121.1 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.312e-06/0.2393, allocations: 4.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001935/0.2395, allocations: 15.89 kB / 1.092 GB, free: 13.37 MB / 0.8575 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.0003042/0.2398, allocations: 0.6171 MB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.2399, allocations: 19.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2399, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.2399, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.2401, allocations: 8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2411, allocations: 1.328 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2413, allocations: 0.7045 MB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.2414, allocations: 8.516 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2414, allocations: 27.42 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2414, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2575, allocations: 1.572 MB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.286, allocations: 3.938 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches