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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001083/0.001083, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.3 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2403, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001933/0.2423, allocations: 0.8349 MB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.2424, allocations: 43.78 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.2424, allocations: 4 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.2425, allocations: 11.86 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.2426, allocations: 7.875 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.257e-05/0.2426, allocations: 19.98 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.2427, allocations: 63.84 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2428, allocations: 47.95 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.2429, allocations: 27.86 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.243, allocations: 31.8 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.243, allocations: 8 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.243, allocations: 4 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.243, allocations: 19.92 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.2431, allocations: 35.75 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.2432, allocations: 63.98 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2432, allocations: 3.984 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2432, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2432, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 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.000406/0.2436, allocations: 372.2 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2436, allocations: 12.62 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.2437, allocations: 46.73 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.2437, allocations: 8.844 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2439, allocations: 196.1 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2439, allocations: 4.281 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2439, allocations: 12.38 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2441, allocations: 89.83 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2441, allocations: 11.86 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.2441, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2441, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.2442, allocations: 39.92 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.2447, allocations: 432.5 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.2448, allocations: 45.34 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.2449, allocations: 13.78 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2449, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2449, allocations: 38.55 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2449, allocations: 3.938 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.2451, allocations: 57.48 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.2451, allocations: 77.11 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2453, allocations: 162.2 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2453, allocations: 29.64 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.2454, allocations: 104 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.2454, allocations: 3.906 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2454, allocations: 17.72 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2455, allocations: 323.1 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.2455, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.2456, allocations: 21.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.2456, allocations: 25.72 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2456, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.876e-05/0.2457, allocations: 57.55 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2457, allocations: 12 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2457, allocations: 4 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2458, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.2458, allocations: 7.984 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2458, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.2459, allocations: 11.84 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.2459, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 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.324e-05/0.246, allocations: 117.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.246, allocations: 15.92 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.246, allocations: 19.86 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.246, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2461, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2461, allocations: 3.938 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.2464, allocations: 470.8 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2464, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.2465, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2465, allocations: 4.062 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2465, allocations: 8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2465, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2465, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.358e-05/0.2466, allocations: 77.83 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.2466, allocations: 85.02 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2466, allocations: 3.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.2467, allocations: 8.031 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2467, allocations: 7.938 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2467, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.605e-05/0.2468, allocations: 122.1 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2468, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001828/0.247, allocations: 11.94 kB / 1.057 GB, free: 3.488 MB / 0.8106 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.0003161/0.2473, allocations: 0.6132 MB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.2474, allocations: 19.94 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2474, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.2474, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2475, allocations: 8 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2486, allocations: 1.327 MB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2489, allocations: 0.6924 MB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.2489, allocations: 12.42 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.249, allocations: 19.44 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.249, allocations: 4 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.2653, allocations: 1.543 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/6.938, allocations: 16.86 kB / 1.061 GB, free: 15.17 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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