Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_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.007582/0.007582, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.00194/0.00194, allocations: 199 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 482.4 MB / 0.7548 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 60.12 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2954, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002104/0.2976, allocations: 0.8254 MB / 1.242 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.2977, allocations: 43.78 kB / 1.242 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.2978, allocations: 0 / 1.242 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.2979, allocations: 11.86 kB / 1.242 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.2979, allocations: 11.88 kB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.318e-05/0.298, allocations: 19.98 kB / 1.242 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2981, allocations: 63.78 kB / 1.242 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2982, allocations: 39.95 kB / 1.242 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.2983, allocations: 23.88 kB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.2984, allocations: 35.83 kB / 1.243 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2984, allocations: 8 kB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.2984, allocations: 7.938 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2984, allocations: 15.94 kB / 1.243 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.2985, allocations: 35.73 kB / 1.243 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.2986, allocations: 71.64 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2986, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2986, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2986, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 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.0004518/0.2991, allocations: 387.1 kB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2991, allocations: 12.03 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.2992, allocations: 34.75 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.2992, allocations: 12.84 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2994, allocations: 200.2 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2995, allocations: 4.375 kB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2995, allocations: 12.38 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2996, allocations: 89.45 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2997, allocations: 3.938 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2997, allocations: 12 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2997, allocations: 0 / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.2998, allocations: 35.98 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.3004, allocations: 436.7 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.3004, allocations: 37.16 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.3005, allocations: 25.83 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.3005, allocations: 0 / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3005, allocations: 34.59 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3005, allocations: 0 / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000185/0.3007, allocations: 65.73 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3008, allocations: 81.14 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.301, allocations: 160.8 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.301, allocations: 25.7 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3011, allocations: 104.1 kB / 1.244 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.3011, allocations: 3.953 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.3011, allocations: 17.72 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3013, allocations: 326.8 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.3013, allocations: 4 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.3013, allocations: 25.66 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.3014, allocations: 29.64 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3014, allocations: 0 / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.022e-05/0.3015, allocations: 57.61 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3015, allocations: 11.94 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3015, allocations: 4.062 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3015, allocations: 0 / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.3016, allocations: 11.92 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3016, allocations: 4 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.3016, allocations: 3.938 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3017, allocations: 4 kB / 1.245 GB, free: 6.535 MB / 0.9981 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 9.43e-05/0.3018, allocations: 110.4 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.3018, allocations: 11.89 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.3018, allocations: 11.88 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3018, allocations: 4 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3019, allocations: 4 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3019, allocations: 3.984 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3023, allocations: 474.7 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3023, allocations: 0 / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.3024, allocations: 4 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3024, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.3024, allocations: 4.062 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3024, allocations: 0 / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3024, allocations: 0 / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.721e-05/0.3025, allocations: 85.81 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.3026, allocations: 85.06 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3026, allocations: 8 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.3026, allocations: 0 / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.3026, allocations: 8.016 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.3026, allocations: 0 / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3027, allocations: 122.1 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3027, allocations: 0 / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001915/0.3029, allocations: 11.98 kB / 1.246 GB, free: 5.492 MB / 0.9981 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.0004312/0.3034, allocations: 0.6171 MB / 1.246 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.3035, allocations: 19.92 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3035, allocations: 0 / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.3035, allocations: 7.938 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3036, allocations: 8 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3049, allocations: 1.332 MB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3053, allocations: 0.6924 MB / 1.248 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.3053, allocations: 8.422 kB / 1.248 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.3054, allocations: 31.42 kB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3054, allocations: 0 / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3266, allocations: 1.573 MB / 1.25 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.938, allocations: 15.08 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches