Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.576, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002001/0.578, allocations: 0.886 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.5781, allocations: 39.78 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.5782, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.5783, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.5784, allocations: 3.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.109e-05/0.5784, allocations: 19.98 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.5785, allocations: 55.77 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.5786, allocations: 43.95 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.5787, allocations: 23.81 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.5787, allocations: 31.83 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.5787, allocations: 4 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.5788, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.5788, allocations: 15.94 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.5788, allocations: 31.8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.5789, allocations: 69.97 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5789, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5789, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.579, allocations: 3.938 kB / 1.018 GB, free: 1.555 MB / 0.7637 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.0003941/0.5793, allocations: 381.2 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5794, allocations: 8.031 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.5794, allocations: 38.75 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.5795, allocations: 12.84 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.5797, allocations: 200.1 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.5797, allocations: 4.375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.5797, allocations: 8.375 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5798, allocations: 94.05 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.5799, allocations: 7.875 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.5799, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5799, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.58, allocations: 39.98 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.5804, allocations: 436.6 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.5805, allocations: 41.16 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.5805, allocations: 25.77 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.5805, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5806, allocations: 38.5 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5806, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/0.5808, allocations: 53.53 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5808, allocations: 85.3 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.5809, allocations: 163.9 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.581, allocations: 25.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.581, allocations: 104 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.581, allocations: 11.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.5811, allocations: 13.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.5812, allocations: 318.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.5812, allocations: 8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.5812, allocations: 17.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.5812, allocations: 25.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5813, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.093e-05/0.5813, allocations: 57.53 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5814, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5814, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5814, allocations: 8.062 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.5815, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5815, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.5815, allocations: 15.83 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5815, allocations: 3.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 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.674e-05/0.5816, allocations: 114.4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.5816, allocations: 15.78 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.5817, allocations: 11.88 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5817, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5817, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5817, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.582, allocations: 474.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.582, allocations: 3.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.5821, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.5821, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.5821, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5821, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5821, allocations: 4.062 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/0.5822, allocations: 77.78 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.5822, allocations: 96.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.5822, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.5823, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.5823, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.5823, allocations: 4.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.5824, allocations: 121.3 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5824, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001807/0.5826, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 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.000312/0.5829, allocations: 0.6154 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.975e-05/0.583, allocations: 23.92 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.583, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.583, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.5832, allocations: 8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5842, allocations: 1.347 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.5844, allocations: 0.6965 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.5844, allocations: 4.438 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.5845, allocations: 27.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.5845, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.5946, allocations: 1.419 MB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.5948, allocations: 216 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.076, allocations: 3.938 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches