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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001176/0.001176, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01172/0.01172, allocations: 170 kB / 16.26 MB, free: 6.613 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.644/1.644, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.000392, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9305, allocations: 142.4 MB / 0.955 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006821/0.9374, allocations: 4.982 MB / 0.9599 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007532/0.945, allocations: 4.072 MB / 0.9639 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009237/0.946, allocations: 15.75 kB / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.9464, allocations: 100.5 kB / 0.964 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.9489, allocations: 0.6382 MB / 0.9646 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.951, allocations: 499.7 kB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002286/0.9533, allocations: 1.626 MB / 0.9667 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.9548, allocations: 0.695 MB / 0.9674 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.9556, allocations: 390.4 kB / 0.9677 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009374/0.9565, allocations: 0.5225 MB / 0.9682 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.9566, allocations: 40.48 kB / 0.9683 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.9588, allocations: 1.008 MB / 0.9693 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.9591, allocations: 304 kB / 0.9696 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.9596, allocations: 414.5 kB / 0.97 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.9618, allocations: 1.405 MB / 0.9713 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.9618, allocations: 4 kB / 0.9713 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9618, allocations: 1.031 kB / 0.9713 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.9618, allocations: 3.938 kB / 0.9713 GB, free: 12.03 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.002264/0.9641, allocations: 1.018 MB / 0.9723 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.9642, allocations: 9.938 kB / 0.9723 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.9752, allocations: 1.719 MB / 0.974 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.9769, allocations: 0.6155 MB / 0.9746 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.9769, allocations: 48.84 kB / 0.9747 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.9771, allocations: 55.2 kB / 0.9747 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005753/0.9829, allocations: 1.933 MB / 0.9766 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.983, allocations: 9.281 kB / 0.9766 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9831, allocations: 26.56 kB / 0.9766 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/0.9835, allocations: 152.2 kB / 0.9768 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/0.9919, allocations: 2.636 MB / 0.9794 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/1.003, allocations: 6.684 MB / 0.9859 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/1.006, allocations: 1.268 MB / 0.9871 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002687/1.009, allocations: 0.907 MB / 0.988 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/1.011, allocations: 1.496 MB / 0.9895 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.011, allocations: 42.55 kB / 0.9895 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.975e-06/1.011, allocations: 4 kB / 0.9895 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.03078/1.042, allocations: 8.392 MB / 0.9977 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/1.042, allocations: 90.11 kB / 0.9978 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/1.043, allocations: 0.5769 MB / 0.9984 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/1.044, allocations: 45.7 kB / 0.9984 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/1.044, allocations: 415 kB / 0.9988 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/1.044, allocations: 370.7 kB / 0.9992 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/1.045, allocations: 105.7 kB / 0.9993 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.045, allocations: 390.7 kB / 0.9996 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/1.048, allocations: 1.123 MB / 1.001 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/1.051, allocations: 1.472 MB / 1.002 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006717/1.058, allocations: 2.624 MB / 1.005 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.058, allocations: 4 kB / 1.005 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01215/1.07, allocations: 3.92 MB / 1.009 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003877/1.071, allocations: 408.5 kB / 1.009 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.071, allocations: 8 kB / 1.009 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005683/1.076, allocations: 1.377 MB / 1.01 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/1.079, allocations: 471.2 kB / 1.011 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/1.095, allocations: 11.24 MB / 1.022 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/1.098, allocations: 311.5 kB / 1.022 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.098, allocations: 63.97 kB / 1.022 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.098, allocations: 4 kB / 1.022 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/1.109, allocations: 3.612 MB / 1.026 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/1.109, allocations: 12 kB / 1.026 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.113, allocations: 1.1 MB / 1.027 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.115, allocations: 487.1 kB / 1.027 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.13, allocations: 10.35 MB / 1.037 GB, free: 8.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.132, allocations: 307.6 kB / 1.038 GB, free: 8.461 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.132, allocations: 67.97 kB / 1.038 GB, free: 8.395 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.000779/1.133, allocations: 384.6 kB / 1.038 GB, free: 8.008 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/1.133, allocations: 87 kB / 1.038 GB, free: 7.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.145, allocations: 3.794 MB / 1.042 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.145, allocations: 12 kB / 1.042 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.145, allocations: 4 kB / 1.042 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.145, allocations: 3.984 kB / 1.042 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/1.16, allocations: 5.493 MB / 1.047 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.16, allocations: 8 kB / 1.047 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.162, allocations: 363.9 kB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/1.166, allocations: 1.244 MB / 1.049 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.167, allocations: 35.97 kB / 1.049 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.182, allocations: 10.74 MB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/1.182, allocations: 11.94 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.193, allocations: 3.685 MB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/1.194, allocations: 339.9 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.194, allocations: 28 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.196, allocations: 315.5 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/1.197, allocations: 108.2 kB / 1.064 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.197, allocations: 47.91 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006834/1.197, allocations: 414.8 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/1.197, allocations: 0 / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002622/1.2, allocations: 0.5977 MB / 1.065 GB, free: 11.87 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.0003248/1.2, allocations: 139 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.216, allocations: 5.757 MB / 1.07 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.818e-05/1.216, allocations: 0 / 1.07 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/1.222, allocations: 2.123 MB / 1.072 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.224, allocations: 160.1 kB / 1.073 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.236, allocations: 3.896 MB / 1.076 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/1.237, allocations: 1.114 MB / 1.078 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002218/1.239, allocations: 0.55 MB / 1.078 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.239, allocations: 79.38 kB / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of SimCode: time 1.423e-06/1.239, allocations: 0 / 1.078 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.04708/1.286, allocations: 26.87 MB / 1.104 GB, free: 3.031 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/jenkins/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