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.001092/0.001092, 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.001297/0.001297, 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.581/1.581, allocations: 223.3 MB / 240 MB, free: 5.402 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.689/2.689, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005376/0.0005377, allocations: 12 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.034, allocations: 142.4 MB / 0.9544 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.008294/1.042, allocations: 4.75 MB / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007855/1.05, allocations: 3.81 MB / 0.9628 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00091/1.051, allocations: 19.91 kB / 0.9628 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000558/1.052, allocations: 97.42 kB / 0.9629 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/1.054, allocations: 0.5132 MB / 0.9634 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/1.056, allocations: 408.9 kB / 0.9638 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002766/1.059, allocations: 1.326 MB / 0.9651 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/1.061, allocations: 0.6596 MB / 0.9657 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/1.062, allocations: 393.8 kB / 0.9661 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/1.063, allocations: 0.5135 MB / 0.9666 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/1.063, allocations: 35.28 kB / 0.9667 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/1.065, allocations: 497.4 kB / 0.9671 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005628/1.066, allocations: 295.4 kB / 0.9674 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/1.066, allocations: 167.3 kB / 0.9676 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/1.068, allocations: 1.016 MB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.068, allocations: 5 kB / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.604e-06/1.068, allocations: 0 / 0.9686 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.068, allocations: 0 / 0.9686 GB, free: 13.52 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.003011/1.071, allocations: 1.018 MB / 0.9696 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.072, allocations: 9.812 kB / 0.9696 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/1.087, allocations: 1.691 MB / 0.9712 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/1.089, allocations: 0.6072 MB / 0.9718 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/1.089, allocations: 48.47 kB / 0.9719 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/1.089, allocations: 58.67 kB / 0.9719 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008153/1.098, allocations: 1.916 MB / 0.9738 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/1.098, allocations: 5.125 kB / 0.9738 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/1.098, allocations: 27.66 kB / 0.9738 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005938/1.098, allocations: 148 kB / 0.974 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/1.111, allocations: 2.619 MB / 0.9765 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/1.128, allocations: 6.661 MB / 0.983 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/1.132, allocations: 1.265 MB / 0.9843 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003679/1.136, allocations: 0.9037 MB / 0.9851 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003693/1.14, allocations: 1.487 MB / 0.9866 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.14, allocations: 42.56 kB / 0.9866 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 4.148e-06/1.14, allocations: 0 / 0.9866 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.04219/1.182, allocations: 8.244 MB / 0.9947 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/1.182, allocations: 94.05 kB / 0.9948 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.184, allocations: 0.5731 MB / 0.9953 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/1.184, allocations: 45.64 kB / 0.9954 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/1.185, allocations: 415 kB / 0.9958 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006681/1.185, allocations: 370.7 kB / 0.9961 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.185, allocations: 28 kB / 0.9962 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002564/1.186, allocations: 390.8 kB / 0.9965 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/1.19, allocations: 1.111 MB / 0.9976 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/1.194, allocations: 1.445 MB / 0.999 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/1.199, allocations: 1.222 MB / 1 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/1.199, allocations: 4 kB / 1 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01591/1.215, allocations: 3.881 MB / 1.004 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004624/1.215, allocations: 396.6 kB / 1.004 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.215, allocations: 12 kB / 1.004 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007962/1.223, allocations: 1.384 MB / 1.006 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/1.226, allocations: 463.2 kB / 1.006 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/1.246, allocations: 11.21 MB / 1.017 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.248, allocations: 315.6 kB / 1.017 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.249, allocations: 63.97 kB / 1.018 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.249, allocations: 4 kB / 1.018 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009741/1.259, allocations: 3.569 MB / 1.021 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/1.259, allocations: 12 kB / 1.021 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003949/1.263, allocations: 1.097 MB / 1.022 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.265, allocations: 475.2 kB / 1.023 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.279, allocations: 10.34 MB / 1.033 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.282, allocations: 307.7 kB / 1.033 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/1.282, allocations: 71.84 kB / 1.033 GB, free: 12.99 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.001077/1.283, allocations: 392.6 kB / 1.033 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/1.284, allocations: 79.06 kB / 1.033 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.294, allocations: 3.762 MB / 1.037 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.294, allocations: 12 kB / 1.037 GB, free: 8.719 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/1.294, allocations: 8 kB / 1.037 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.294, allocations: 3.984 kB / 1.037 GB, free: 8.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.307, allocations: 5.474 MB / 1.042 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/1.307, allocations: 4.094 kB / 1.042 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.309, allocations: 363.4 kB / 1.043 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/1.313, allocations: 1.244 MB / 1.044 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/1.313, allocations: 39.94 kB / 1.044 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.329, allocations: 10.73 MB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/1.329, allocations: 11.94 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009868/1.339, allocations: 3.677 MB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009023/1.34, allocations: 335.9 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/1.34, allocations: 28 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.342, allocations: 315.5 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/1.343, allocations: 104.2 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.343, allocations: 43.97 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009204/1.344, allocations: 402.8 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.344, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004056/1.348, allocations: 0.5938 MB / 1.06 GB, free: 0.5664 MB / 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.0003797/1.349, allocations: 143.2 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.364, allocations: 5.72 MB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/1.364, allocations: 4 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005322/1.369, allocations: 2.111 MB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.371, allocations: 164 kB / 1.068 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.382, allocations: 3.813 MB / 1.072 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.384, allocations: 1.114 MB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002543/1.387, allocations: 0.5422 MB / 1.073 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/1.387, allocations: 75.33 kB / 1.073 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/1.387, allocations: 4 kB / 1.073 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.04777/1.435, allocations: 25.91 MB / 1.099 GB, free: 8.812 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