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.0009956/0.0009959, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 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.575/1.575, allocations: 223.3 MB / 240 MB, free: 5.32 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.61/2.61, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003795, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9807/0.9811, allocations: 142.4 MB / 0.9544 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005094/0.9862, allocations: 4.505 MB / 0.9588 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005253/0.9915, allocations: 3.74 MB / 0.9625 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.992, allocations: 14.41 kB / 0.9625 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.9923, allocations: 88.56 kB / 0.9626 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.9936, allocations: 0.5055 MB / 0.9631 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.9946, allocations: 360.7 kB / 0.9634 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.9958, allocations: 1.141 MB / 0.9645 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.997, allocations: 0.6426 MB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.9975, allocations: 350.5 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.9982, allocations: 464.2 kB / 0.966 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.9983, allocations: 32.22 kB / 0.966 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.9995, allocations: 479 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.9999, allocations: 274.7 kB / 0.9667 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/1, allocations: 144.8 kB / 0.9668 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/1.001, allocations: 0.9449 MB / 0.9678 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.001, allocations: 1.125 kB / 0.9678 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/1.001, allocations: 4 kB / 0.9678 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.181e-05/1.001, allocations: 0 / 0.9678 GB, free: 14.01 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.001946/1.003, allocations: 0.9475 MB / 0.9687 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.003, allocations: 8.781 kB / 0.9687 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008137/1.012, allocations: 1.62 MB / 0.9703 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.013, allocations: 0.5304 MB / 0.9708 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/1.013, allocations: 46.02 kB / 0.9708 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.013, allocations: 64.23 kB / 0.9709 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/1.018, allocations: 1.836 MB / 0.9727 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.018, allocations: 5.312 kB / 0.9727 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.018, allocations: 28.14 kB / 0.9727 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/1.018, allocations: 107 kB / 0.9728 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00724/1.025, allocations: 2.476 MB / 0.9752 GB, free: 9.641 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.01509/1.04, allocations: 6.364 MB / 0.9815 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/1.045, allocations: 1.36 MB / 0.9828 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/1.048, allocations: 0.9026 MB / 0.9837 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/1.051, allocations: 2.158 MB / 0.9858 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.051, allocations: 46.5 kB / 0.9858 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.265e-06/1.051, allocations: 0 / 0.9858 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=93): time 0.02007/1.071, allocations: 6.638 MB / 0.9923 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.071, allocations: 191.9 kB / 0.9925 GB, free: 7.703 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/1.072, allocations: 0.5134 MB / 0.993 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/1.072, allocations: 41.7 kB / 0.993 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/1.072, allocations: 394.7 kB / 0.9934 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.073, allocations: 323.4 kB / 0.9937 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/1.073, allocations: 23.94 kB / 0.9937 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.073, allocations: 386.7 kB / 0.9941 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/1.076, allocations: 0.9938 MB / 0.9951 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/1.078, allocations: 1.287 MB / 0.9963 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.081, allocations: 1.087 MB / 0.9974 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/1.081, allocations: 0 / 0.9974 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008786/1.09, allocations: 3.326 MB / 1.001 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/1.09, allocations: 344 kB / 1.001 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.09, allocations: 8 kB / 1.001 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/1.094, allocations: 1.088 MB / 1.002 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.096, allocations: 471.2 kB / 1.002 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.11, allocations: 9.193 MB / 1.011 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.112, allocations: 307.5 kB / 1.012 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.112, allocations: 59.97 kB / 1.012 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.112, allocations: 7.984 kB / 1.012 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008397/1.121, allocations: 3.008 MB / 1.015 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.121, allocations: 16.06 kB / 1.015 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/1.124, allocations: 0.7555 MB / 1.016 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/1.126, allocations: 483.2 kB / 1.016 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008772/1.135, allocations: 6.927 MB / 1.023 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/1.137, allocations: 303.4 kB / 1.023 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.137, allocations: 59.97 kB / 1.023 GB, free: 7.113 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 (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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000635/1.137, allocations: 356.8 kB / 1.023 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/1.138, allocations: 71.16 kB / 1.023 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008757/1.146, allocations: 3.093 MB / 1.027 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.146, allocations: 8 kB / 1.027 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.146, allocations: 8 kB / 1.027 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.146, allocations: 7.969 kB / 1.027 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.158, allocations: 5.015 MB / 1.031 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.158, allocations: 4 kB / 1.031 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.159, allocations: 363.9 kB / 1.032 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/1.163, allocations: 1.01 MB / 1.033 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.163, allocations: 39.92 kB / 1.033 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.173, allocations: 8.649 MB / 1.041 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.173, allocations: 7.938 kB / 1.041 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/1.183, allocations: 3.254 MB / 1.044 GB, free: 432 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/1.183, allocations: 312 kB / 1.045 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.184, allocations: 24 kB / 1.045 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.185, allocations: 299.5 kB / 1.045 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/1.186, allocations: 83.78 kB / 1.045 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.186, allocations: 47.92 kB / 1.045 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005393/1.186, allocations: 362.8 kB / 1.046 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.186, allocations: 0 / 1.046 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002444/1.189, allocations: 0.5078 MB / 1.046 GB, free: 14.79 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 (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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/1.189, allocations: 139.7 kB / 1.046 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.201, allocations: 4.947 MB / 1.051 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.202, allocations: 1.062 kB / 1.051 GB, free: 9.605 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.206, allocations: 1.749 MB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.207, allocations: 110.8 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/1.216, allocations: 3.53 MB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/1.217, allocations: 1.036 MB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001922/1.219, allocations: 0.4914 MB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/1.219, allocations: 75.38 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of SimCode: time 1.312e-06/1.219, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of Templates: time 0.03483/1.254, allocations: 19.72 MB / 1.077 GB, free: 14.77 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/jenkins/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