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.001012/0.001012, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001275/0.001275, allocations: 168.7 kB / 15.95 MB, free: 204 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.587/1.587, allocations: 223.3 MB / 240 MB, free: 5.375 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.499/2.499, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 16 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8293, allocations: 142.4 MB / 0.9544 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005883/0.8353, allocations: 4.84 MB / 0.9592 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00559/0.8409, allocations: 3.82 MB / 0.9629 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007914/0.8417, allocations: 15.81 kB / 0.9629 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.8422, allocations: 101.5 kB / 0.963 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.844, allocations: 0.5169 MB / 0.9635 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.8455, allocations: 421 kB / 0.9639 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.8475, allocations: 1.323 MB / 0.9652 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.849, allocations: 0.6698 MB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009746/0.85, allocations: 394.8 kB / 0.9662 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.8513, allocations: 0.5092 MB / 0.9667 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.8516, allocations: 35.75 kB / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.8534, allocations: 497.1 kB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007924/0.8542, allocations: 295.3 kB / 0.9675 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.8549, allocations: 168.4 kB / 0.9677 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.8578, allocations: 1.02 MB / 0.9687 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.8579, allocations: 0 / 0.9687 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.406e-06/0.8579, allocations: 0.7812 kB / 0.9687 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.778e-05/0.858, allocations: 0 / 0.9687 GB, free: 13.41 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.003543/0.8615, allocations: 1.024 MB / 0.9697 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8616, allocations: 12.45 kB / 0.9697 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009189/0.8708, allocations: 1.699 MB / 0.9714 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.8726, allocations: 0.5963 MB / 0.9719 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.8726, allocations: 49.06 kB / 0.972 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.873, allocations: 57.86 kB / 0.972 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/0.8784, allocations: 1.912 MB / 0.9739 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.8784, allocations: 5.438 kB / 0.9739 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.8786, allocations: 27.94 kB / 0.9739 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003519/0.879, allocations: 151.6 kB / 0.9741 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007834/0.8868, allocations: 2.616 MB / 0.9766 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.8973, allocations: 6.657 MB / 0.9831 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.9002, allocations: 1.269 MB / 0.9844 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.9025, allocations: 0.9037 MB / 0.9853 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/0.9049, allocations: 1.491 MB / 0.9867 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.9049, allocations: 42.55 kB / 0.9868 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.284e-06/0.905, allocations: 4 kB / 0.9868 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.02536/0.9303, allocations: 8.236 MB / 0.9948 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.9305, allocations: 86.11 kB / 0.9949 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9315, allocations: 0.577 MB / 0.9954 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.9318, allocations: 41.7 kB / 0.9955 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.9322, allocations: 419 kB / 0.9959 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.9326, allocations: 366.7 kB / 0.9962 GB, free: 4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.9328, allocations: 28 kB / 0.9963 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.933, allocations: 386.8 kB / 0.9966 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.9358, allocations: 1.111 MB / 0.9977 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.9388, allocations: 1.448 MB / 0.9991 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.9417, allocations: 1.23 MB / 1 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.9417, allocations: 7.938 kB / 1 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01006/0.9518, allocations: 3.878 MB / 1.004 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.9521, allocations: 398.1 kB / 1.005 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.9522, allocations: 8 kB / 1.005 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004877/0.9571, allocations: 1.392 MB / 1.006 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.959, allocations: 455.2 kB / 1.006 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.9742, allocations: 11.21 MB / 1.017 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.9765, allocations: 311.6 kB / 1.018 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.9768, allocations: 59.97 kB / 1.018 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.9768, allocations: 4 kB / 1.018 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00928/0.9861, allocations: 3.573 MB / 1.021 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.9862, allocations: 8 kB / 1.021 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.9899, allocations: 1.104 MB / 1.022 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.9918, allocations: 483.1 kB / 1.023 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.005, allocations: 10.33 MB / 1.033 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.007, allocations: 307.6 kB / 1.033 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/1.007, allocations: 63.97 kB / 1.033 GB, free: 12.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006772/1.007, allocations: 384.6 kB / 1.033 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.008, allocations: 82.97 kB / 1.034 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.018, allocations: 3.766 MB / 1.037 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.018, allocations: 16.64 kB / 1.037 GB, free: 8.535 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/1.018, allocations: 4 kB / 1.037 GB, free: 8.531 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.018, allocations: 3.984 kB / 1.037 GB, free: 8.527 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.03, allocations: 5.484 MB / 1.043 GB, free: 2.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.03, allocations: 4 kB / 1.043 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.032, allocations: 364.1 kB / 1.043 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004381/1.036, allocations: 1.248 MB / 1.044 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.037, allocations: 43.92 kB / 1.044 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.05, allocations: 10.73 MB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/1.05, allocations: 7.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00951/1.06, allocations: 3.665 MB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/1.061, allocations: 343.9 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.061, allocations: 24 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.063, allocations: 323.5 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.063, allocations: 104.1 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.064, allocations: 47.97 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005494/1.064, allocations: 398.8 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/1.064, allocations: 0 / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002529/1.067, allocations: 0.5977 MB / 1.06 GB, free: 376 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/1.067, allocations: 147 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.08, allocations: 5.697 MB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/1.081, allocations: 4.062 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005025/1.086, allocations: 2.114 MB / 1.068 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.087, allocations: 165.8 kB / 1.068 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.097, allocations: 3.827 MB / 1.072 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/1.098, allocations: 1.114 MB / 1.073 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002332/1.101, allocations: 0.5383 MB / 1.073 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/1.101, allocations: 75.39 kB / 1.073 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of SimCode: time 1.403e-06/1.101, allocations: 4 kB / 1.073 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.04431/1.145, allocations: 25.92 MB / 1.099 GB, free: 8.621 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/jenkins/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