Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009073/0.0009072, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001062, allocations: 90.45 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.042e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/0.9755, allocations: 147.4 MB / 1.036 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.9758, allocations: 97 kB / 1.036 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0636/1.039, allocations: 27.55 MB / 1.063 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.039, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.388e-05/1.04, allocations: 12 kB / 1.063 GB, free: 13.49 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001221/1.041, allocations: 0.6763 MB / 1.063 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.041, allocations: 12.03 kB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/1.042, allocations: 187.1 kB / 1.064 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/1.043, allocations: 392.8 kB / 1.064 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/1.043, allocations: 23.45 kB / 1.064 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/1.043, allocations: 43.64 kB / 1.064 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/1.044, allocations: 0.6869 MB / 1.065 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.044, allocations: 7.938 kB / 1.065 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/1.044, allocations: 22.3 kB / 1.065 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/1.044, allocations: 43.28 kB / 1.065 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/1.045, allocations: 495.8 kB / 1.065 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/1.049, allocations: 3.788 MB / 1.069 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/1.051, allocations: 0.6659 MB / 1.07 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.051, allocations: 172.9 kB / 1.07 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.051, allocations: 19.67 kB / 1.07 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.051, allocations: 30.56 kB / 1.07 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.116e-06/1.051, allocations: 3.938 kB / 1.07 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001593/1.052, allocations: 0.8409 MB / 1.071 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/1.053, allocations: 106.8 kB / 1.071 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/1.053, allocations: 353.7 kB / 1.071 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.053, allocations: 29.02 kB / 1.071 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/1.053, allocations: 266.9 kB / 1.071 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/1.053, allocations: 120 kB / 1.071 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/1.053, allocations: 11 kB / 1.071 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.053, allocations: 351.9 kB / 1.072 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/1.054, allocations: 168.6 kB / 1.072 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/1.054, allocations: 350.3 kB / 1.072 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/1.054, allocations: 222.7 kB / 1.073 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.054, allocations: 0 / 1.073 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009449/1.055, allocations: 0.6458 MB / 1.073 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.055, allocations: 11.95 kB / 1.073 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.055, allocations: 8.688 kB / 1.073 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/1.056, allocations: 95.64 kB / 1.073 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/1.056, allocations: 103 kB / 1.073 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/1.059, allocations: 4.025 MB / 1.077 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/1.06, allocations: 30.16 kB / 1.077 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/1.06, allocations: 23.75 kB / 1.077 GB, free: 15.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.06, allocations: 142.5 kB / 1.077 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.06, allocations: 47.44 kB / 1.078 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/1.061, allocations: 0.5106 MB / 1.078 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.061, allocations: 4 kB / 1.078 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/1.061, allocations: 11.89 kB / 1.078 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.061, allocations: 3.984 kB / 1.078 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.063, allocations: 1.273 MB / 1.079 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.063, allocations: 0 / 1.079 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/1.063, allocations: 66.98 kB / 1.079 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/1.064, allocations: 91.45 kB / 1.079 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/1.064, allocations: 7 kB / 1.079 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/1.067, allocations: 4.038 MB / 1.083 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.067, allocations: 7.938 kB / 1.083 GB, free: 8.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.068, allocations: 0.8894 MB / 1.084 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/1.068, allocations: 164.5 kB / 1.084 GB, free: 7.906 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/1.068, allocations: 14 kB / 1.084 GB, free: 7.898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/1.069, allocations: 19.41 kB / 1.084 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/1.069, allocations: 42.97 kB / 1.084 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.069, allocations: 8 kB / 1.084 GB, free: 7.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002973/1.069, allocations: 273.8 kB / 1.085 GB, free: 7.629 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.069, allocations: 4 kB / 1.085 GB, free: 7.625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006899/1.07, allocations: 127.9 kB / 1.085 GB, free: 7.512 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/1.07, allocations: 114.2 kB / 1.085 GB, free: 7.398 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.071, allocations: 0.7773 MB / 1.086 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.071, allocations: 3.938 kB / 1.086 GB, free: 6.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/1.072, allocations: 0.548 MB / 1.086 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/1.072, allocations: 112.8 kB / 1.086 GB, free: 6.082 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.073, allocations: 0.6694 MB / 1.087 GB, free: 5.434 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/1.074, allocations: 0.8842 MB / 1.088 GB, free: 4.535 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002706/1.074, allocations: 96.48 kB / 1.088 GB, free: 4.441 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/1.074, allocations: 35.44 kB / 1.088 GB, free: 4.406 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/1.074, allocations: 0 / 1.088 GB, free: 4.406 MB / 0.698 GB Notification: Performance of Templates: time 0.009752/1.084, allocations: 5.33 MB / 1.093 GB, free: 15.13 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches