Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009467/0.009467, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.0021/0.0021, allocations: 193.3 kB / 16.79 MB, free: 6.254 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437 MB / 0.7106 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 68.12 kB / 0.8692 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7269, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005098/0.7321, allocations: 3.393 MB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003483/0.7356, allocations: 2.194 MB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.7358, allocations: 4 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.7368, allocations: 271.1 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.7374, allocations: 227.1 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.7382, allocations: 258.2 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000635/0.7389, allocations: 0.5336 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.7393, allocations: 166.8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.7396, allocations: 131.5 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.7401, allocations: 191.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.7401, allocations: 16 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.741, allocations: 0.499 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.7411, allocations: 95.7 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.7413, allocations: 127.3 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.742, allocations: 399.1 kB / 1.026 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.742, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.742, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.742, allocations: 4 kB / 1.026 GB, free: 10.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001122/0.7431, allocations: 0.6041 MB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7432, allocations: 8.031 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.7441, allocations: 120.5 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.7445, allocations: 272.3 kB / 1.027 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.7445, allocations: 16.8 kB / 1.027 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.7446, allocations: 28.31 kB / 1.027 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.7453, allocations: 415.9 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.7453, allocations: 3.938 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.7453, allocations: 15.97 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.7454, allocations: 32.55 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.7461, allocations: 346 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.7486, allocations: 2.046 MB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/0.7495, allocations: 357 kB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.7499, allocations: 193.6 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.75, allocations: 89.09 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7501, allocations: 30.56 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.7501, allocations: 0 / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005009/0.7551, allocations: 1.576 MB / 1.032 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.7551, allocations: 88.98 kB / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.7554, allocations: 232.9 kB / 1.032 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.7555, allocations: 41.73 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7556, allocations: 172.1 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.7557, allocations: 122.3 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.7558, allocations: 86.03 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.756, allocations: 334.8 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.7564, allocations: 194.5 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.7568, allocations: 301.1 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.7576, allocations: 0.5163 MB / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7577, allocations: 0 / 1.034 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001298/0.759, allocations: 0.6563 MB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.759, allocations: 4 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.759, allocations: 4 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.7596, allocations: 151.4 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.76, allocations: 99.73 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.7629, allocations: 3.954 MB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.7633, allocations: 36.06 kB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.7634, allocations: 23.98 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005023/0.7639, allocations: 316.9 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004542/0.7643, allocations: 309 kB / 1.039 GB, free: 11.63 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008087/0.7652, allocations: 0.5037 MB / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.7652, allocations: 0 / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001295/0.7665, allocations: 0.6446 MB / 1.04 GB, free: 10.42 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7665, allocations: 8 kB / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7665, allocations: 4 kB / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/0.767, allocations: 151.5 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.7674, allocations: 87.88 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.7702, allocations: 3.95 MB / 1.044 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.7706, allocations: 39.86 kB / 1.044 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.7707, allocations: 12 kB / 1.044 GB, free: 5.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.7708, allocations: 204.1 kB / 1.044 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.771, allocations: 23.72 kB / 1.044 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7722, allocations: 0.6205 MB / 1.045 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7723, allocations: 8 kB / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7723, allocations: 0 / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7723, allocations: 0 / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.7746, allocations: 1.327 MB / 1.046 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.7746, allocations: 4 kB / 1.046 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.7749, allocations: 55.91 kB / 1.046 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.7753, allocations: 159.4 kB / 1.047 GB, free: 3.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.7754, allocations: 12 kB / 1.047 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.7782, allocations: 3.957 MB / 1.05 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7782, allocations: 7.969 kB / 1.05 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.7795, allocations: 0.7702 MB / 1.051 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.7797, allocations: 144.7 kB / 1.051 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.7798, allocations: 8 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.7801, allocations: 28.06 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7802, allocations: 43.81 kB / 1.051 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.7802, allocations: 16 kB / 1.051 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001668/0.7804, allocations: 168.5 kB / 1.052 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7804, allocations: 0 / 1.052 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008379/0.7813, allocations: 168 kB / 1.052 GB, free: 13.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (31): * Single equations (assignments): 27 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002396/0.7815, allocations: 147.1 kB / 1.052 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.7836, allocations: 1.222 MB / 1.053 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7837, allocations: 0 / 1.053 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.7844, allocations: 493.9 kB / 1.054 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.785, allocations: 54.33 kB / 1.054 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.7864, allocations: 0.9185 MB / 1.054 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.7869, allocations: 0.8084 MB / 1.055 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.787, allocations: 27.44 kB / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of SimCode: time 1.102e-06/0.787, allocations: 0 / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.01258/0.7996, allocations: 9.086 MB / 1.064 GB, free: 0.6992 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches