Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 170.9 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.729/1.729, allocations: 223.2 MB / 0.7949 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.89 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004268, allocations: 15.39 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5394, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5396, allocations: 67.89 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002638/0.5423, allocations: 1.08 MB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5423, allocations: 7.938 kB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5424, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 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.0004453/0.5428, allocations: 371.5 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.5429, allocations: 8.031 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.5429, allocations: 11.86 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.5431, allocations: 178.9 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5432, allocations: 8 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5432, allocations: 12 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.5434, allocations: 91.33 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5434, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5434, allocations: 7.984 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5434, allocations: 4 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.5435, allocations: 39.92 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.5442, allocations: 444.6 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.5443, allocations: 37.19 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.5443, allocations: 3.984 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5444, allocations: 42.69 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.5444, allocations: 0 / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.5446, allocations: 49.55 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.5447, allocations: 77.11 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.5448, allocations: 147 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5448, allocations: 25.7 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.5449, allocations: 104.2 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.5449, allocations: 15.89 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.545, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5451, allocations: 315.1 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.5451, allocations: 4 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.5452, allocations: 29.64 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.5452, allocations: 15.89 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5452, allocations: 4 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001012/0.5453, allocations: 57.59 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5454, allocations: 8.625 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5454, allocations: 0 / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5454, allocations: 96 / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.5455, allocations: 15.92 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5455, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.5455, allocations: 3.906 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.5455, allocations: 4 kB / 1.371 GB, free: 9.762 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.5457, allocations: 121.9 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.5457, allocations: 7.906 kB / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.5457, allocations: 15.8 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5458, allocations: 0 / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5458, allocations: 4 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.5458, allocations: 0 / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.5462, allocations: 474.7 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5462, allocations: 4.062 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.5463, allocations: 4 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5463, allocations: 0 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.5463, allocations: 4 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5463, allocations: 3.984 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5463, allocations: 0 / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.5464, allocations: 95.52 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.5465, allocations: 89 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5465, allocations: 4 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.5465, allocations: 0 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.5466, allocations: 0 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5466, allocations: 0 / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001038/0.5467, allocations: 120.9 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5467, allocations: 0 / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001846/0.5469, allocations: 19.86 kB / 1.372 GB, free: 8.695 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.547, allocations: 107.1 kB / 1.372 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.5471, allocations: 19.92 kB / 1.372 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5472, allocations: 0 / 1.372 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.5472, allocations: 7.938 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.5473, allocations: 8 kB / 1.372 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.5477, allocations: 182.8 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.5481, allocations: 0.6965 MB / 1.373 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.5481, allocations: 12.42 kB / 1.373 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.5481, allocations: 15.38 kB / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5481, allocations: 0 / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of Templates: time 0.002488/0.5506, allocations: 411.8 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches