Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.5 MB / 398 MB, free: 10.89 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.001235/0.001235, allocations: 187.7 kB / 491.2 MB, free: 1.559 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009816/0.0009815, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.232e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.382, allocations: 165.9 MB / 1.374 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.382, allocations: 98.33 kB / 1.374 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0718/1.454, allocations: 32.41 MB / 1.406 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.076e-06/1.454, allocations: 4 kB / 1.406 GB, free: 19.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.096e-05/1.454, allocations: 23.77 kB / 1.406 GB, free: 19.81 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00168/1.455, allocations: 0.7787 MB / 1.407 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.456, allocations: 8.031 kB / 1.407 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/1.457, allocations: 214.4 kB / 1.407 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/1.458, allocations: 489.4 kB / 1.408 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/1.458, allocations: 16 kB / 1.408 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/1.458, allocations: 27.91 kB / 1.408 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006572/1.459, allocations: 420.2 kB / 1.408 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/1.46, allocations: 0.8578 MB / 1.409 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.46, allocations: 3.938 kB / 1.409 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/1.46, allocations: 8 kB / 1.409 GB, free: 17.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/1.46, allocations: 48.69 kB / 1.409 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/1.464, allocations: 5.548 MB / 1.414 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/1.465, allocations: 437.9 kB / 1.415 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/1.465, allocations: 216.5 kB / 1.415 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/1.465, allocations: 7.109 kB / 1.415 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.465, allocations: 38.56 kB / 1.415 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/1.465, allocations: 0 / 1.415 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.00187/1.467, allocations: 0.8074 MB / 1.416 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.467, allocations: 55.41 kB / 1.416 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/1.468, allocations: 361.8 kB / 1.416 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/1.468, allocations: 25.7 kB / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/1.468, allocations: 347.9 kB / 1.417 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.468, allocations: 111.5 kB / 1.417 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/1.468, allocations: 0 / 1.417 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002263/1.468, allocations: 358.3 kB / 1.417 GB, free: 9.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/1.469, allocations: 175.9 kB / 1.417 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/1.469, allocations: 388.7 kB / 1.418 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/1.47, allocations: 239.8 kB / 1.418 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.47, allocations: 4 kB / 1.418 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001272/1.471, allocations: 0.6921 MB / 1.418 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/1.471, allocations: 9.562 kB / 1.418 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.471, allocations: 8 kB / 1.418 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/1.471, allocations: 151.4 kB / 1.419 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/1.472, allocations: 119.6 kB / 1.419 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/1.476, allocations: 3.863 MB / 1.422 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/1.476, allocations: 28.22 kB / 1.423 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/1.476, allocations: 27.89 kB / 1.423 GB, free: 3.688 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0001875/1.476, allocations: 120.7 kB / 1.423 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.476, allocations: 55.34 kB / 1.423 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/1.478, allocations: 0.5712 MB / 1.423 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.478, allocations: 4 kB / 1.423 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.478, allocations: 7.938 kB / 1.423 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.478, allocations: 4 kB / 1.423 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/1.48, allocations: 1.148 MB / 1.424 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.48, allocations: 4 kB / 1.424 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/1.48, allocations: 51.89 kB / 1.424 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/1.481, allocations: 141 kB / 1.425 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.481, allocations: 7.938 kB / 1.425 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/1.484, allocations: 3.86 MB / 1.428 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.484, allocations: 4.031 kB / 1.428 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.485, allocations: 0.7547 MB / 1.429 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/1.485, allocations: 161.8 kB / 1.429 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/1.486, allocations: 0 / 1.429 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/1.486, allocations: 19.97 kB / 1.429 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/1.486, allocations: 35.53 kB / 1.429 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.486, allocations: 11.5 kB / 1.429 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003671/1.486, allocations: 270.4 kB / 1.43 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.486, allocations: 0 / 1.43 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007617/1.487, allocations: 128 kB / 1.43 GB, free: 12.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 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.0002012/1.487, allocations: 111.3 kB / 1.43 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.489, allocations: 0.95 MB / 1.431 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.489, allocations: 1.062 kB / 1.431 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/1.49, allocations: 0.7079 MB / 1.431 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/1.49, allocations: 164.5 kB / 1.432 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.492, allocations: 0.7324 MB / 1.432 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/1.492, allocations: 0.9172 MB / 1.433 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004136/1.493, allocations: 116.9 kB / 1.433 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/1.493, allocations: 38.88 kB / 1.433 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/1.493, allocations: 0 / 1.433 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of Templates: time 0.0131/1.506, allocations: 6.371 MB / 1.44 GB, free: 2.617 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches