Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009459, allocations: 91.77 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.001322/0.001322, allocations: 178.9 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.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.285 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.498/2.498, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004011, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7585, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005071/0.7636, allocations: 4.982 MB / 0.9606 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005932/0.7696, allocations: 4.065 MB / 0.9646 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.7702, allocations: 15.56 kB / 0.9646 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.7706, allocations: 96.73 kB / 0.9647 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.7723, allocations: 0.6384 MB / 0.9653 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.7738, allocations: 0.4892 MB / 0.9658 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.7759, allocations: 1.627 MB / 0.9674 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.7773, allocations: 0.6943 MB / 0.968 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008507/0.7782, allocations: 390.2 kB / 0.9684 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.7791, allocations: 0.5306 MB / 0.9689 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.616e-05/0.7792, allocations: 36.12 kB / 0.969 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.7813, allocations: 1.005 MB / 0.9699 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.7816, allocations: 306.4 kB / 0.9702 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.7821, allocations: 415.9 kB / 0.9706 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.7837, allocations: 1.045 MB / 0.9716 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7837, allocations: 0 / 0.9716 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7837, allocations: 0 / 0.9716 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.7838, allocations: 1.094 kB / 0.9716 GB, free: 12.21 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.001931/0.7857, allocations: 1.013 MB / 0.9726 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7857, allocations: 13.25 kB / 0.9726 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.7959, allocations: 1.716 MB / 0.9743 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7973, allocations: 0.6267 MB / 0.9749 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.7974, allocations: 50.22 kB / 0.975 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.7975, allocations: 58.52 kB / 0.975 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.8027, allocations: 1.932 MB / 0.9769 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.8028, allocations: 6.125 kB / 0.9769 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8029, allocations: 30.83 kB / 0.977 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003532/0.8033, allocations: 148.4 kB / 0.9771 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00819/0.8115, allocations: 2.629 MB / 0.9797 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.8216, allocations: 6.68 MB / 0.9862 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.8251, allocations: 1.29 MB / 0.9875 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.8277, allocations: 0.9109 MB / 0.9883 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002815/0.8306, allocations: 1.488 MB / 0.9898 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.8307, allocations: 46.56 kB / 0.9898 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 3.236e-06/0.8307, allocations: 0 / 0.9898 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.02992/0.8606, allocations: 8.388 MB / 0.998 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.8607, allocations: 90.09 kB / 0.9981 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.8615, allocations: 0.5847 MB / 0.9987 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/0.8617, allocations: 49.64 kB / 0.9987 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.862, allocations: 411 kB / 0.9991 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.8624, allocations: 374.7 kB / 0.9995 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.8626, allocations: 101.7 kB / 0.9996 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.8628, allocations: 394.7 kB / 1 GB, free: 1.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.8658, allocations: 1.123 MB / 1.001 GB, free: 108 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/0.8692, allocations: 1.468 MB / 1.002 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006681/0.8759, allocations: 2.628 MB / 1.005 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.876, allocations: 4 kB / 1.005 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01191/0.8879, allocations: 3.917 MB / 1.009 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003835/0.8883, allocations: 401.8 kB / 1.009 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.8884, allocations: 15.98 kB / 1.009 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005563/0.8939, allocations: 1.373 MB / 1.011 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.8963, allocations: 463.2 kB / 1.011 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.9125, allocations: 11.24 MB / 1.022 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.9152, allocations: 315.6 kB / 1.022 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.9156, allocations: 67.95 kB / 1.022 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9156, allocations: 5.719 kB / 1.022 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/0.9265, allocations: 3.604 MB / 1.026 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/0.9266, allocations: 8 kB / 1.026 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/0.9308, allocations: 1.108 MB / 1.027 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/0.9332, allocations: 487.1 kB / 1.027 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.9479, allocations: 10.35 MB / 1.038 GB, free: 9.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.9504, allocations: 307.5 kB / 1.038 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.9508, allocations: 59.97 kB / 1.038 GB, free: 8.758 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.0009634/0.9517, allocations: 388.8 kB / 1.038 GB, free: 8.367 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.9521, allocations: 86.94 kB / 1.038 GB, free: 8.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.9643, allocations: 3.786 MB / 1.042 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.9643, allocations: 15.94 kB / 1.042 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/0.9644, allocations: 8 kB / 1.042 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.9644, allocations: 3.984 kB / 1.042 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.9791, allocations: 5.497 MB / 1.047 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.9791, allocations: 8.031 kB / 1.047 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.9809, allocations: 363.4 kB / 1.048 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/0.9861, allocations: 1.24 MB / 1.049 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.9863, allocations: 43.97 kB / 1.049 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/1.002, allocations: 10.76 MB / 1.06 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.002, allocations: 4 kB / 1.06 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.013, allocations: 3.677 MB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/1.014, allocations: 347.9 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/1.014, allocations: 24 kB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.017, allocations: 315.5 kB / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.017, allocations: 112.1 kB / 1.064 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.017, allocations: 43.97 kB / 1.064 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006488/1.018, allocations: 410.8 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/1.018, allocations: 4 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002697/1.021, allocations: 0.6016 MB / 1.065 GB, free: 12.22 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.0002943/1.021, allocations: 131.1 kB / 1.065 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.036, allocations: 5.758 MB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.036, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005657/1.042, allocations: 2.114 MB / 1.073 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.044, allocations: 160.6 kB / 1.073 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.056, allocations: 3.983 MB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/1.057, allocations: 1.114 MB / 1.078 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/1.057, allocations: 103.3 kB / 1.078 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of SimCode: time 1.192e-06/1.057, allocations: 0 / 1.078 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.04422/1.102, allocations: 29.49 MB / 1.107 GB, free: 1.062 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches