Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: 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_9_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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.0014, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 11.94 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8641, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003953/0.8681, allocations: 3.639 MB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.8713, allocations: 2.176 MB / 0.9592 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.8716, allocations: 14.75 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.8718, allocations: 55.73 kB / 0.9593 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000746/0.8726, allocations: 287.2 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.8733, allocations: 229.2 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.8738, allocations: 445.9 kB / 0.9602 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.8746, allocations: 425.9 kB / 0.9606 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.8749, allocations: 199.5 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.8753, allocations: 204.8 kB / 0.961 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.8754, allocations: 16.81 kB / 0.961 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.8759, allocations: 185.3 kB / 0.9612 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.876, allocations: 111.7 kB / 0.9613 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.8761, allocations: 108.5 kB / 0.9614 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.8767, allocations: 0.5081 MB / 0.9619 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8767, allocations: 5.094 kB / 0.9619 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8767, allocations: 0 / 0.9619 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8767, allocations: 0 / 0.9619 GB, free: 1.746 MB / 0.7169 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.001016/0.8778, allocations: 0.7052 MB / 0.9626 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8778, allocations: 9.219 kB / 0.9626 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.879, allocations: 179.8 kB / 0.9628 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.8797, allocations: 396.1 kB / 0.9631 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.8798, allocations: 26.7 kB / 0.9632 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.8799, allocations: 29.5 kB / 0.9632 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.8808, allocations: 0.6478 MB / 0.9638 GB, free: 160 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.8809, allocations: 6 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.8809, allocations: 17.33 kB / 0.9638 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/0.881, allocations: 53.39 kB / 0.9639 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007981/0.8818, allocations: 0.4923 MB / 0.9644 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.8853, allocations: 3.788 MB / 0.9681 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.8871, allocations: 0.6255 MB / 0.9687 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.8871, allocations: 7.969 kB / 0.9687 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8872, allocations: 36.72 kB / 0.9687 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/0.8872, allocations: 0 / 0.9687 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002571/0.8897, allocations: 1.271 MB / 0.97 GB, free: 11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.8898, allocations: 110 kB / 0.9701 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.8903, allocations: 389.8 kB / 0.9704 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.8903, allocations: 30.89 kB / 0.9705 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.8905, allocations: 302.3 kB / 0.9708 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/0.8907, allocations: 113.7 kB / 0.9709 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.8907, allocations: 10.72 kB / 0.9709 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8908, allocations: 352.6 kB / 0.9712 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.8911, allocations: 173.5 kB / 0.9714 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.8915, allocations: 371.2 kB / 0.9717 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.8919, allocations: 236.7 kB / 0.972 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.8919, allocations: 1.75 kB / 0.972 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001066/0.893, allocations: 0.6688 MB / 0.9726 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.893, allocations: 6.812 kB / 0.9726 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.893, allocations: 10.73 kB / 0.9726 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.8934, allocations: 101.5 kB / 0.9727 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.8938, allocations: 115.5 kB / 0.9728 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.897, allocations: 4.043 MB / 0.9768 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.8974, allocations: 34.66 kB / 0.9768 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.8974, allocations: 28.22 kB / 0.9768 GB, free: 4.715 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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.000298/0.8977, allocations: 194.9 kB / 0.977 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.8979, allocations: 46.53 kB / 0.9771 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.899, allocations: 0.5208 MB / 0.9776 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.899, allocations: 3.969 kB / 0.9776 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.8991, allocations: 5.891 kB / 0.9776 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.8991, allocations: 0.875 kB / 0.9776 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.9013, allocations: 1.285 MB / 0.9789 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.9013, allocations: 6.766 kB / 0.9789 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.9016, allocations: 57.84 kB / 0.9789 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.9018, allocations: 98.16 kB / 0.979 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.9019, allocations: 9 kB / 0.979 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.9053, allocations: 4.052 MB / 0.983 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.9054, allocations: 7.531 kB / 0.983 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.907, allocations: 0.9069 MB / 0.9839 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.9074, allocations: 161.5 kB / 0.984 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.9075, allocations: 16.86 kB / 0.984 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.9079, allocations: 22.31 kB / 0.9841 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.908, allocations: 26.12 kB / 0.9841 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.908, allocations: 14.62 kB / 0.9841 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004987/0.9085, allocations: 272.7 kB / 0.9844 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9086, allocations: 0 / 0.9844 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009661/0.9095, allocations: 128.6 kB / 0.9845 GB, free: 13.79 MB / 0.7481 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 () * Number of clocked 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.0001748/0.9097, allocations: 115.5 kB / 0.9846 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.9113, allocations: 0.7955 MB / 0.9854 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9113, allocations: 0 / 0.9854 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/0.9121, allocations: 0.5471 MB / 0.9859 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007443/0.9128, allocations: 126.8 kB / 0.986 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.9146, allocations: 1.05 MB / 0.987 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.9151, allocations: 0.8703 MB / 0.9879 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000315/0.9154, allocations: 108.4 kB / 0.988 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.9155, allocations: 39.42 kB / 0.988 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.9155, allocations: 0 / 0.988 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.01053/0.926, allocations: 5.292 MB / 0.9932 GB, free: 5.551 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches