Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_11_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.006772/0.006772, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001795/0.001795, allocations: 196.5 kB / 16.67 MB, free: 5.926 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.12 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7856, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002014/0.7876, allocations: 0.834 MB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.7878, allocations: 35.84 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.7878, allocations: 4 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.7879, allocations: 7.875 kB / 1.221 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.788, allocations: 7.875 kB / 1.221 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.81e-05/0.788, allocations: 23.97 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.7881, allocations: 59.84 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7883, allocations: 51.86 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.7884, allocations: 27.84 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.7884, allocations: 27.8 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.7885, allocations: 4 kB / 1.221 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.7885, allocations: 8 kB / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.7885, allocations: 15.92 kB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.7886, allocations: 35.81 kB / 1.221 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.7887, allocations: 83.28 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7887, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7887, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7887, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 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.0004613/0.7892, allocations: 375.2 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7892, allocations: 8.031 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.7893, allocations: 42.73 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.7893, allocations: 12.84 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.7896, allocations: 196.1 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.7896, allocations: 16.31 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.7896, allocations: 4.375 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.7898, allocations: 101.7 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.7898, allocations: 7.875 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7898, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7898, allocations: 4 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.7899, allocations: 39.92 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.7905, allocations: 432.8 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.7905, allocations: 45.31 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.7906, allocations: 21.7 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.7906, allocations: 4 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.7906, allocations: 30.56 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7906, allocations: 4 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.7908, allocations: 53.53 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.7909, allocations: 77.11 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.791, allocations: 161.3 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.7911, allocations: 29.95 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.7911, allocations: 104.1 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.7912, allocations: 7.953 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.7912, allocations: 17.67 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7913, allocations: 322.8 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.7914, allocations: 8 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.7914, allocations: 21.64 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.7914, allocations: 29.72 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7915, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.49e-05/0.7915, allocations: 57.59 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7916, allocations: 11.92 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7916, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7916, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.7917, allocations: 8 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7917, allocations: 0 / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.7917, allocations: 15.94 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.7917, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 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.304e-05/0.7918, allocations: 113.8 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.7918, allocations: 11.89 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.7919, allocations: 15.86 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7919, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7919, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7919, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.7923, allocations: 478.7 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7924, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.7924, allocations: 4 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7924, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7924, allocations: 7.875 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.7924, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7924, allocations: 96 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/0.7925, allocations: 85.92 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.7926, allocations: 89.06 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7926, allocations: 7.984 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.7926, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.7926, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.7926, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.7927, allocations: 121.5 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7928, allocations: 4.031 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001751/0.7929, allocations: 4 kB / 1.224 GB, free: 13.25 MB / 0.9512 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.0004198/0.7934, allocations: 0.6176 MB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.7935, allocations: 23.97 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7935, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.7935, allocations: 4 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.7936, allocations: 8 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.7949, allocations: 1.331 MB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.7953, allocations: 0.6967 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.7953, allocations: 4.438 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.7954, allocations: 27.42 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7954, allocations: 0 / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.425/3.22, allocations: 1.568 MB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/15.07, allocations: 25.36 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches