Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,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.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 98.88 kB / 16.02 MB, free: 76 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.00194/0.00194, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.328 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.451/2.451, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003779, allocations: 11.94 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7218, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.004785/0.7267, allocations: 4.729 MB / 0.9603 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005676/0.7324, allocations: 4.005 MB / 0.9642 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.733, allocations: 14.22 kB / 0.9643 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.7334, allocations: 88.84 kB / 0.9643 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.7352, allocations: 0.6324 MB / 0.965 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.7365, allocations: 417.9 kB / 0.9654 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.7385, allocations: 1.413 MB / 0.9667 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7401, allocations: 0.6795 MB / 0.9674 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.741, allocations: 343.4 kB / 0.9677 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.7422, allocations: 482.2 kB / 0.9682 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.7425, allocations: 31.69 kB / 0.9682 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.7449, allocations: 0.9777 MB / 0.9692 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.7454, allocations: 273.7 kB / 0.9694 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.7464, allocations: 377.3 kB / 0.9698 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.7486, allocations: 0.9709 MB / 0.9707 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.7486, allocations: 4 kB / 0.9707 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7486, allocations: 0 / 0.9707 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.62e-05/0.7487, allocations: 0 / 0.9707 GB, free: 12.79 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003035/0.7517, allocations: 0.9365 MB / 0.9717 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.7518, allocations: 8.75 kB / 0.9717 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.7621, allocations: 1.635 MB / 0.9733 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.7635, allocations: 0.5522 MB / 0.9738 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.7636, allocations: 46.73 kB / 0.9738 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/0.764, allocations: 63.52 kB / 0.9739 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005836/0.7698, allocations: 1.854 MB / 0.9757 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.7699, allocations: 5.188 kB / 0.9757 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.7701, allocations: 27.7 kB / 0.9757 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002738/0.7704, allocations: 110.2 kB / 0.9759 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008593/0.779, allocations: 2.495 MB / 0.9783 GB, free: 8.02 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.7893, allocations: 6.384 MB / 0.9845 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/0.7932, allocations: 1.37 MB / 0.9859 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/0.7959, allocations: 0.9065 MB / 0.9867 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003094/0.799, allocations: 2.162 MB / 0.9889 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.7991, allocations: 42.5 kB / 0.9889 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.7991, allocations: 4 kB / 0.9889 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.0257/0.8248, allocations: 6.79 MB / 0.9955 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.825, allocations: 191.9 kB / 0.9957 GB, free: 5.523 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.8258, allocations: 0.5212 MB / 0.9962 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.826, allocations: 37.7 kB / 0.9963 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.8264, allocations: 394.7 kB / 0.9966 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.8268, allocations: 331.5 kB / 0.997 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.8271, allocations: 93.67 kB / 0.997 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8273, allocations: 378.8 kB / 0.9974 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.8304, allocations: 1.009 MB / 0.9984 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.8337, allocations: 1.302 MB / 0.9997 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006334/0.8401, allocations: 2.308 MB / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.8401, allocations: 4 kB / 1.002 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01101/0.8511, allocations: 3.373 MB / 1.005 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.8515, allocations: 343.4 kB / 1.006 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.8515, allocations: 11.94 kB / 1.006 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004829/0.8563, allocations: 1.092 MB / 1.007 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.8588, allocations: 471.2 kB / 1.007 GB, free: 9.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.8709, allocations: 8.956 MB / 1.016 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.8735, allocations: 307.5 kB / 1.016 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.8739, allocations: 63.97 kB / 1.016 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8739, allocations: 4 kB / 1.016 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009687/0.8836, allocations: 3.055 MB / 1.019 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.8837, allocations: 8 kB / 1.019 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.8869, allocations: 0.7639 MB / 1.02 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.8894, allocations: 495.2 kB / 1.02 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009569/0.899, allocations: 6.926 MB / 1.027 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.9014, allocations: 295.6 kB / 1.027 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.9018, allocations: 64.14 kB / 1.027 GB, free: 3.609 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008821/0.9027, allocations: 360.7 kB / 1.028 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.9031, allocations: 79.06 kB / 1.028 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.9134, allocations: 3.109 MB / 1.031 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.9135, allocations: 8 kB / 1.031 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-05/0.9135, allocations: 8 kB / 1.031 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.9136, allocations: 11.98 kB / 1.031 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.9266, allocations: 5.023 MB / 1.036 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.9267, allocations: 4 kB / 1.036 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.9285, allocations: 360 kB / 1.036 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004256/0.9328, allocations: 1.014 MB / 1.037 GB, free: 9.461 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.933, allocations: 31.97 kB / 1.037 GB, free: 9.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.9436, allocations: 8.669 MB / 1.046 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.9436, allocations: 11.94 kB / 1.046 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.9537, allocations: 3.254 MB / 1.049 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.9548, allocations: 319.9 kB / 1.049 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.9552, allocations: 20 kB / 1.049 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/0.9575, allocations: 299.5 kB / 1.05 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/0.9579, allocations: 87.77 kB / 1.05 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.9581, allocations: 39.97 kB / 1.05 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006625/0.9588, allocations: 378.8 kB / 1.05 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9588, allocations: 0 / 1.05 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002623/0.9614, allocations: 0.5078 MB / 1.05 GB, free: 11.22 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.9618, allocations: 135 kB / 1.051 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01338/0.9752, allocations: 4.838 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.9752, allocations: 4 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/0.9795, allocations: 1.741 MB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.9813, allocations: 127.1 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.9925, allocations: 3.661 MB / 1.061 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.9933, allocations: 1.04 MB / 1.062 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.994, allocations: 99.33 kB / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 6.92e-07/0.994, allocations: 0 / 1.062 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.03487/1.029, allocations: 25.86 MB / 1.087 GB, free: 5.406 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches