Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001524, allocations: 110.6 kB / 16.41 MB, free: 6.492 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.001643/0.001643, allocations: 187 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 55.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9462, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.005864/0.9521, allocations: 2.815 MB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.9568, allocations: 2.092 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.9569, allocations: 8 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.958, allocations: 223.1 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.9587, allocations: 223.1 kB / 1.173 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.9597, allocations: 284.8 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.9602, allocations: 311.1 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.9607, allocations: 157.9 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.9609, allocations: 123.6 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.9613, allocations: 159.4 kB / 1.174 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.9614, allocations: 20 kB / 1.174 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.9623, allocations: 415.2 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.9624, allocations: 91.77 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.9626, allocations: 119.4 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.9634, allocations: 484.4 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9635, allocations: 0 / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.456e-06/0.9635, allocations: 7.938 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.9635, allocations: 4 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001238/0.9647, allocations: 0.5537 MB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9648, allocations: 8.922 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.9663, allocations: 128.5 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.9669, allocations: 273.5 kB / 1.176 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.9669, allocations: 12.81 kB / 1.176 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.967, allocations: 28.11 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.968, allocations: 389.9 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.968, allocations: 0 / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.9681, allocations: 11.98 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.9682, allocations: 27.92 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.9693, allocations: 379.5 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.9723, allocations: 1.734 MB / 1.178 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.9734, allocations: 357 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.974, allocations: 189.6 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.9742, allocations: 89.11 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.9742, allocations: 46.5 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.9743, allocations: 0 / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.01349/0.9878, allocations: 2.052 MB / 1.181 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.9879, allocations: 81.11 kB / 1.181 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.9881, allocations: 185.3 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.9882, allocations: 29.7 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.9884, allocations: 148.3 kB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.9885, allocations: 122.3 kB / 1.181 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.9888, allocations: 77.69 kB / 1.181 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9889, allocations: 334.8 kB / 1.182 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/0.9897, allocations: 268.6 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.9906, allocations: 345.4 kB / 1.182 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.9922, allocations: 0.6195 MB / 1.183 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.9922, allocations: 7.938 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001954/0.9942, allocations: 0.6542 MB / 1.183 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.9942, allocations: 4 kB / 1.183 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9942, allocations: 7.984 kB / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9943, allocations: 8.281 kB / 1.183 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.9958, allocations: 155.7 kB / 1.184 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.9958, allocations: 4 kB / 1.184 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.9965, allocations: 51.92 kB / 1.184 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.9966, allocations: 23.97 kB / 1.184 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009978/0.9976, allocations: 371.9 kB / 1.184 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009082/0.9986, allocations: 337.9 kB / 1.184 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001819/1, allocations: 0.5903 MB / 1.185 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/1, allocations: 0 / 1.185 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.002105/1.003, allocations: 0.6414 MB / 1.186 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.003, allocations: 4 kB / 1.186 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.003, allocations: 7.938 kB / 1.186 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.003, allocations: 7.984 kB / 1.186 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.004, allocations: 151.9 kB / 1.186 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.004, allocations: 7.984 kB / 1.186 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/1.005, allocations: 47.94 kB / 1.186 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/1.005, allocations: 19.98 kB / 1.186 GB, free: 372 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/1.005, allocations: 208 kB / 1.186 GB, free: 156 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/1.005, allocations: 19.81 kB / 1.186 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/1.007, allocations: 0.6805 MB / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.007, allocations: 4 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.007, allocations: 4 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.007, allocations: 0 / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.011, allocations: 1.375 MB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.011, allocations: 0 / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/1.011, allocations: 123.8 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/1.011, allocations: 4 kB / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.011, allocations: 11.94 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.012, allocations: 7.938 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/1.012, allocations: 4 kB / 1.188 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/1.013, allocations: 0.7125 MB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/1.013, allocations: 140.8 kB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/1.013, allocations: 8 kB / 1.189 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/1.014, allocations: 43.88 kB / 1.189 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.014, allocations: 31.91 kB / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/1.014, allocations: 16 kB / 1.189 GB, free: 12.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002471/1.014, allocations: 152.9 kB / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.014, allocations: 0 / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001117/1.015, allocations: 148 kB / 1.189 GB, free: 12.52 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/1.016, allocations: 139.1 kB / 1.19 GB, free: 12.37 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.018, allocations: 0.8788 MB / 1.19 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.018, allocations: 3.938 kB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/1.019, allocations: 255.7 kB / 1.191 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/1.02, allocations: 51.94 kB / 1.191 GB, free: 11.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/1.022, allocations: 0.7502 MB / 1.191 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.022, allocations: 0.7799 MB / 1.192 GB, free: 9.578 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.023, allocations: 39.42 kB / 1.192 GB, free: 9.539 MB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/1.023, allocations: 0 / 1.192 GB, free: 9.539 MB / 0.92 GB Notification: Performance of Templates: time 0.0118/1.034, allocations: 4.955 MB / 1.197 GB, free: 4.598 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches