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.001206/0.001209, allocations: 108 kB / 15.61 MB, free: 152 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.001127/0.001127, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.562/2.562, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 66.89 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.255, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002037/0.257, allocations: 0.8318 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.847e-05/0.2572, allocations: 43.78 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.2572, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2572, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.2573, allocations: 7.938 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.305e-05/0.2574, allocations: 19.98 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2575, allocations: 63.78 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2576, allocations: 43.95 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.2577, allocations: 27.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.2578, allocations: 31.86 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2578, allocations: 4 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2578, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.2578, allocations: 11.92 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.2579, allocations: 35.75 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.258, allocations: 75.97 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.258, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.258, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.258, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 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.0004092/0.2584, allocations: 375.2 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2585, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.2585, allocations: 42.73 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2585, allocations: 12.75 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.2587, allocations: 188.2 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.2588, allocations: 8.375 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2588, allocations: 4.375 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.2589, allocations: 103.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2589, allocations: 7.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.259, allocations: 8 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.259, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.514e-05/0.2591, allocations: 35.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.2596, allocations: 436.6 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.2596, allocations: 37.16 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.2597, allocations: 29.86 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.2597, allocations: 3.984 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2597, allocations: 30.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2597, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.2599, allocations: 57.48 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.2599, allocations: 81.11 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2601, allocations: 166.2 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2601, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.2602, allocations: 105.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-06/0.2602, allocations: 3.906 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2602, allocations: 17.97 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2604, allocations: 322.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.2604, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.2605, allocations: 25.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.2605, allocations: 25.66 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2605, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.061e-05/0.2606, allocations: 57.55 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2606, allocations: 15.92 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2606, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2607, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.2607, allocations: 12 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2607, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.2608, allocations: 7.844 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-06/0.2608, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 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.997e-05/0.2608, allocations: 113.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.2609, allocations: 15.91 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.2609, allocations: 11.86 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.2609, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2609, allocations: 7.938 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2609, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.2613, allocations: 470.8 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2613, allocations: 0 / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2614, allocations: 4 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2614, allocations: 8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.2614, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2614, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2614, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.2615, allocations: 85.77 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.2615, allocations: 85.02 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2616, allocations: 12.02 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.2616, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.2616, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.2616, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.363e-05/0.2617, allocations: 122.1 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2617, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001741/0.2619, allocations: 12 kB / 1.068 GB, free: 9.473 MB / 0.8262 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.0004042/0.2623, allocations: 0.6208 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.2624, allocations: 16 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2624, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.2624, allocations: 11.94 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.2626, allocations: 11.94 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2637, allocations: 1.316 MB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.264, allocations: 0.6963 MB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.2641, allocations: 8.422 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2641, allocations: 23.44 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2641, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/0.4828, allocations: 1.555 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.078, allocations: 7.922 kB / 1.072 GB, free: 5.133 MB / 0.8262 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