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.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.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.009518/0.009518, allocations: 108.5 kB / 15.74 MB, free: 6.051 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.001912/0.001912, allocations: 193.2 kB / 16.67 MB, free: 5.98 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.561/2.561, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3342, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002141/0.3364, allocations: 0.8217 MB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.3365, allocations: 43.78 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.3366, allocations: 4 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.3367, allocations: 11.86 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.3367, allocations: 7.938 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.232e-05/0.3368, allocations: 19.92 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.3369, allocations: 59.84 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.337, allocations: 51.95 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.3371, allocations: 19.88 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.3371, allocations: 35.78 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3372, allocations: 8 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.3372, allocations: 4 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3372, allocations: 11.94 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.3373, allocations: 39.73 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.3374, allocations: 74.52 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3374, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3374, allocations: 4 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3374, allocations: 0 / 1.167 GB, free: 6.078 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.0003646/0.3378, allocations: 384 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3378, allocations: 12.03 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.3378, allocations: 34.75 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.3379, allocations: 8.844 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3381, allocations: 196.1 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3381, allocations: 8.375 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3381, allocations: 4.375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3382, allocations: 91.95 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3383, allocations: 7.875 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3383, allocations: 15.88 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3383, allocations: 3.984 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.3384, allocations: 31.98 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.339, allocations: 440.5 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.3391, allocations: 41.28 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.3391, allocations: 21.84 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.3391, allocations: 0 / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3391, allocations: 38.5 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3391, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.3393, allocations: 57.53 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3394, allocations: 81.05 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3395, allocations: 159.9 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3395, allocations: 25.7 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.3396, allocations: 100 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.3396, allocations: 8.156 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.3397, allocations: 17.72 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.3398, allocations: 322.8 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3398, allocations: 4 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.3398, allocations: 17.72 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.3399, allocations: 29.7 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3399, allocations: 4 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.823e-05/0.34, allocations: 53.55 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.34, allocations: 11.94 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.34, allocations: 0 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.34, allocations: 0 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.3401, allocations: 7.984 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3401, allocations: 4 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.3401, allocations: 11.84 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3401, allocations: 4 kB / 1.17 GB, free: 3.594 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.298e-05/0.3402, allocations: 115.8 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.3403, allocations: 15.84 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.3403, allocations: 7.875 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3403, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3403, allocations: 4 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3403, allocations: 3.984 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.3407, allocations: 474.7 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3407, allocations: 4.031 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.3407, allocations: 8 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3407, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3407, allocations: 3.938 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3407, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3407, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.809e-05/0.3408, allocations: 85.77 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.3409, allocations: 89.02 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3409, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.3409, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.3409, allocations: 3.984 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.3409, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.773e-05/0.341, allocations: 117.1 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.341, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001838/0.3412, allocations: 11.91 kB / 1.17 GB, free: 2.551 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.0003509/0.3416, allocations: 0.6171 MB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.3417, allocations: 19.92 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3417, allocations: 4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.3417, allocations: 12.16 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.3418, allocations: 1.719 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.343, allocations: 1.332 MB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3433, allocations: 0.6968 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.3433, allocations: 8.422 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3434, allocations: 27.42 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3434, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.3613, allocations: 1.57 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/8.004, allocations: 10.05 kB / 1.175 GB, free: 14.2 MB / 0.9356 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