Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.282/2.282, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001069/0.001069, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.000963/0.0009629, allocations: 95.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.815e-05, allocations: 1.406 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.5, allocations: 193.3 MB / 1.408 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/1.5, allocations: 97.88 kB / 1.408 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4194/1.92, allocations: 169.8 MB / 1.573 GB, free: 5.871 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.843e-06/1.92, allocations: 3.938 kB / 1.573 GB, free: 5.867 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002537/1.92, allocations: 95.98 kB / 1.574 GB, free: 5.773 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01654/1.937, allocations: 3.34 MB / 1.577 GB, free: 2.371 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/1.937, allocations: 12.03 kB / 1.577 GB, free: 2.359 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007981/1.945, allocations: 0.9589 MB / 1.578 GB, free: 1.395 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00682/1.952, allocations: 2.283 MB / 1.58 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/1.952, allocations: 332.6 kB / 1.58 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/1.954, allocations: 432.1 kB / 1.581 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/1.976, allocations: 6.614 MB / 1.587 GB, free: 7.457 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/1.976, allocations: 11.92 kB / 1.587 GB, free: 7.445 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008645/1.977, allocations: 184 kB / 1.587 GB, free: 7.266 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/1.977, allocations: 251 kB / 1.588 GB, free: 7.02 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/1.99, allocations: 5.232 MB / 1.593 GB, free: 1.785 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/2.043, allocations: 32.48 MB / 1.624 GB, free: 14.46 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/2.047, allocations: 1.849 MB / 1.626 GB, free: 12.57 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/2.049, allocations: 1.075 MB / 1.627 GB, free: 11.49 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/2.049, allocations: 105.8 kB / 1.627 GB, free: 11.37 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/2.049, allocations: 47.28 kB / 1.627 GB, free: 11.31 MB / 1.089 GB Notification: Performance of pre-optimization done (n=86): time 3.687e-06/2.049, allocations: 0 / 1.627 GB, free: 11.31 MB / 1.089 GB Notification: Performance of matching and sorting (n=89): time 0.009939/2.059, allocations: 4.032 MB / 1.631 GB, free: 7.234 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/2.059, allocations: 141.6 kB / 1.631 GB, free: 7.066 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/2.062, allocations: 1.458 MB / 1.633 GB, free: 5.602 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/2.062, allocations: 41.7 kB / 1.633 GB, free: 5.555 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/2.063, allocations: 1.897 MB / 1.635 GB, free: 3.629 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/2.064, allocations: 331.6 kB / 1.635 GB, free: 3.301 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/2.064, allocations: 40 kB / 1.635 GB, free: 3.262 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.000225/2.064, allocations: 394 kB / 1.636 GB, free: 2.871 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/2.066, allocations: 1.085 MB / 1.637 GB, free: 1.781 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/2.068, allocations: 2.153 MB / 1.639 GB, free: 15.11 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/2.07, allocations: 1.512 MB / 1.64 GB, free: 13.59 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/2.07, allocations: 12 kB / 1.64 GB, free: 13.58 MB / 1.104 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005598/2.076, allocations: 3.265 MB / 1.643 GB, free: 10.31 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.007012/2.083, allocations: 13.43 MB / 1.656 GB, free: 11.82 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.21e-05/2.083, allocations: 35.94 kB / 1.657 GB, free: 11.79 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.716e-05/2.083, allocations: 55.94 kB / 1.657 GB, free: 11.74 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/2.086, allocations: 0.6278 MB / 1.657 GB, free: 11.11 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.681e-05/2.086, allocations: 67.78 kB / 1.657 GB, free: 11.04 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/2.089, allocations: 370.7 kB / 1.658 GB, free: 10.68 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/2.089, allocations: 112 kB / 1.658 GB, free: 10.57 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/2.089, allocations: 4 kB / 1.658 GB, free: 10.57 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004412/2.094, allocations: 2.71 MB / 1.66 GB, free: 7.855 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/2.094, allocations: 33 kB / 1.66 GB, free: 7.824 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.565e-05/2.094, allocations: 52 kB / 1.66 GB, free: 7.773 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/2.096, allocations: 0.5615 MB / 1.661 GB, free: 7.211 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-05/2.096, allocations: 75.67 kB / 1.661 GB, free: 7.137 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/2.097, allocations: 255.1 kB / 1.661 GB, free: 6.887 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/2.098, allocations: 112 kB / 1.661 GB, free: 6.777 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0005248/2.098, allocations: 248 kB / 1.662 GB, free: 6.527 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/2.099, allocations: 154.1 kB / 1.662 GB, free: 6.375 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/2.102, allocations: 1.893 MB / 1.664 GB, free: 4.469 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/2.102, allocations: 8 kB / 1.664 GB, free: 4.461 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/2.102, allocations: 3.953 kB / 1.664 GB, free: 4.457 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/2.102, allocations: 11.92 kB / 1.664 GB, free: 4.445 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/2.114, allocations: 7.723 MB / 1.671 GB, free: 12.55 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/2.115, allocations: 4 kB / 1.671 GB, free: 12.55 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/2.116, allocations: 340.1 kB / 1.672 GB, free: 12.21 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.549e-05/2.116, allocations: 19.95 kB / 1.672 GB, free: 12.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/2.116, allocations: 24 kB / 1.672 GB, free: 12.17 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/2.116, allocations: 15.94 kB / 1.672 GB, free: 12.16 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/2.116, allocations: 8 kB / 1.672 GB, free: 12.15 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/2.119, allocations: 2.706 MB / 1.674 GB, free: 9.141 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009539/2.12, allocations: 458.8 kB / 1.675 GB, free: 8.672 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/2.12, allocations: 27.95 kB / 1.675 GB, free: 8.645 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/2.122, allocations: 163.7 kB / 1.675 GB, free: 8.484 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/2.122, allocations: 84.31 kB / 1.675 GB, free: 8.402 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/2.122, allocations: 28 kB / 1.675 GB, free: 8.375 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001758/2.124, allocations: 1.072 MB / 1.676 GB, free: 7.305 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/2.124, allocations: 4 kB / 1.676 GB, free: 7.301 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.004765/2.128, allocations: 1.23 MB / 1.677 GB, free: 6.07 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.0003386/2.129, allocations: 150.9 kB / 1.677 GB, free: 5.914 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.006423/2.135, allocations: 3.794 MB / 1.681 GB, free: 2.133 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/2.135, allocations: 0 / 1.681 GB, free: 2.133 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/2.137, allocations: 0.8745 MB / 1.682 GB, free: 1.254 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/2.139, allocations: 380.8 kB / 1.682 GB, free: 0.8867 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/2.151, allocations: 5.446 MB / 1.688 GB, free: 11.31 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/2.154, allocations: 2.937 MB / 1.69 GB, free: 8.344 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003737/2.158, allocations: 1.25 MB / 1.692 GB, free: 7.086 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/2.159, allocations: 107.4 kB / 1.692 GB, free: 6.98 MB / 1.151 GB Notification: Performance of SimCode: time 1.473e-06/2.159, allocations: 0 / 1.692 GB, free: 6.98 MB / 1.151 GB Notification: Performance of Templates: time 0.7549/2.914, allocations: 23.7 MB / 1.715 GB, free: 301.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches