Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 173 kB / 16.92 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.336 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.486/2.486, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7829, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005329/0.7882, allocations: 5.074 MB / 0.9607 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005498/0.7938, allocations: 4.089 MB / 0.9647 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.7943, allocations: 16.88 kB / 0.9647 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.7946, allocations: 95.67 kB / 0.9648 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.796, allocations: 0.6383 MB / 0.9654 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.7973, allocations: 0.4912 MB / 0.9659 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.799, allocations: 1.627 MB / 0.9675 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.8002, allocations: 0.6946 MB / 0.9681 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.8008, allocations: 386.2 kB / 0.9685 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.8016, allocations: 0.5272 MB / 0.969 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-05/0.8017, allocations: 35.84 kB / 0.9691 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.8035, allocations: 1.017 MB / 0.9701 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.8039, allocations: 302.8 kB / 0.9703 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.8043, allocations: 419.7 kB / 0.9707 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.8055, allocations: 1.049 MB / 0.9718 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.8055, allocations: 0 / 0.9718 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8056, allocations: 0.9375 kB / 0.9718 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.8056, allocations: 0 / 0.9718 GB, free: 12.09 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00186/0.8074, allocations: 1.014 MB / 0.9728 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8075, allocations: 9.719 kB / 0.9728 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.8177, allocations: 1.723 MB / 0.9744 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.8191, allocations: 0.625 MB / 0.9751 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.8192, allocations: 44.33 kB / 0.9751 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.8194, allocations: 67.62 kB / 0.9752 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005153/0.8246, allocations: 1.925 MB / 0.977 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.8246, allocations: 9.109 kB / 0.9771 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.8248, allocations: 28.14 kB / 0.9771 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/0.8251, allocations: 151.3 kB / 0.9772 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007994/0.8331, allocations: 2.628 MB / 0.9798 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.8433, allocations: 6.676 MB / 0.9863 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.8467, allocations: 1.286 MB / 0.9876 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.8495, allocations: 0.9109 MB / 0.9885 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.8516, allocations: 1.492 MB / 0.9899 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.8517, allocations: 46.56 kB / 0.99 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.8517, allocations: 4 kB / 0.99 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.02893/0.8806, allocations: 8.384 MB / 0.9982 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.8807, allocations: 94.11 kB / 0.9982 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.8815, allocations: 0.5808 MB / 0.9988 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.8816, allocations: 41.7 kB / 0.9988 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.8819, allocations: 419 kB / 0.9992 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.8822, allocations: 366.7 kB / 0.9996 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.8824, allocations: 105.7 kB / 0.9997 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8826, allocations: 390.7 kB / 1 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.8856, allocations: 1.127 MB / 1.001 GB, free: 32 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/0.8889, allocations: 1.468 MB / 1.003 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006262/0.8952, allocations: 2.624 MB / 1.005 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.8952, allocations: 4 kB / 1.005 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01124/0.9065, allocations: 3.92 MB / 1.009 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.9068, allocations: 400.6 kB / 1.009 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.9068, allocations: 16 kB / 1.009 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.9122, allocations: 1.376 MB / 1.011 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.9144, allocations: 471.2 kB / 1.011 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.93, allocations: 11.24 MB / 1.022 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.9325, allocations: 315.6 kB / 1.022 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.9326, allocations: 60.06 kB / 1.023 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.9327, allocations: 7.938 kB / 1.023 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/0.9431, allocations: 3.604 MB / 1.026 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.9432, allocations: 12 kB / 1.026 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/0.9473, allocations: 1.096 MB / 1.027 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/0.9496, allocations: 487.1 kB / 1.028 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.9629, allocations: 10.35 MB / 1.038 GB, free: 9.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.9654, allocations: 315.6 kB / 1.038 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.9655, allocations: 67.95 kB / 1.038 GB, free: 8.668 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006793/0.9662, allocations: 392.6 kB / 1.038 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.9664, allocations: 86.91 kB / 1.039 GB, free: 8.188 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.9775, allocations: 3.778 MB / 1.042 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.9776, allocations: 12 kB / 1.042 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.9776, allocations: 12 kB / 1.042 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.9776, allocations: 3.984 kB / 1.042 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.9905, allocations: 5.491 MB / 1.048 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.9905, allocations: 4.688 kB / 1.048 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.9922, allocations: 363.4 kB / 1.048 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/0.9968, allocations: 1.248 MB / 1.049 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.997, allocations: 35.97 kB / 1.049 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/1.011, allocations: 10.75 MB / 1.06 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.011, allocations: 7.938 kB / 1.06 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.021, allocations: 3.681 MB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/1.022, allocations: 343.9 kB / 1.064 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.022, allocations: 28.05 kB / 1.064 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.024, allocations: 324 kB / 1.064 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/1.024, allocations: 108.1 kB / 1.064 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/1.025, allocations: 39.97 kB / 1.064 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005803/1.025, allocations: 418.8 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002227/1.027, allocations: 0.5977 MB / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/1.028, allocations: 143 kB / 1.065 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.042, allocations: 5.749 MB / 1.071 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.042, allocations: 5.5 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/1.048, allocations: 2.118 MB / 1.073 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.049, allocations: 151.8 kB / 1.073 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.06, allocations: 3.995 MB / 1.077 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/1.061, allocations: 1.11 MB / 1.078 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/1.061, allocations: 103.3 kB / 1.078 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/1.061, allocations: 0 / 1.078 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.03724/1.099, allocations: 29.54 MB / 1.107 GB, free: 0.918 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches