Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002329/0.002329, allocations: 198.1 kB / 16.14 MB, free: 6.645 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.09 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7936, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004801/0.7984, allocations: 2.797 MB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.8019, allocations: 2.116 MB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.8021, allocations: 7.938 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.803, allocations: 211.3 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.8036, allocations: 207.3 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.8044, allocations: 235.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.8049, allocations: 454.8 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.8054, allocations: 162 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.8056, allocations: 103.6 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.8059, allocations: 155.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.806, allocations: 16 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.8068, allocations: 475.2 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.807, allocations: 95.69 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.8071, allocations: 115.4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009099/0.808, allocations: 496.6 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8081, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8081, allocations: 0 / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8081, allocations: 0 / 1.024 GB, free: 11.16 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001162/0.8092, allocations: 0.5538 MB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8093, allocations: 15.97 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.8104, allocations: 132.5 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.8108, allocations: 260.4 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.8108, allocations: 16.81 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.8109, allocations: 20.12 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.8117, allocations: 393.9 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.8117, allocations: 0 / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.8117, allocations: 8 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.8118, allocations: 23.98 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.8126, allocations: 383.5 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.815, allocations: 1.745 MB / 1.027 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.8157, allocations: 362.3 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.8161, allocations: 189.6 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.8163, allocations: 89.09 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.8163, allocations: 30.56 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 4.368e-06/0.8164, allocations: 4 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.009248/0.8256, allocations: 2.055 MB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.8257, allocations: 81.11 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.8259, allocations: 186.6 kB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.826, allocations: 29.7 kB / 1.03 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.8261, allocations: 148.4 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8262, allocations: 126.2 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.8264, allocations: 73.69 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8265, allocations: 330.8 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.8271, allocations: 264.7 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.8277, allocations: 353.4 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.829, allocations: 0.619 MB / 1.032 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.829, allocations: 7.875 kB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001505/0.8305, allocations: 0.6543 MB / 1.033 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.8306, allocations: 8 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.8306, allocations: 0 / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.8306, allocations: 8 kB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8317, allocations: 152 kB / 1.033 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.8317, allocations: 11.94 kB / 1.033 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.8322, allocations: 55.92 kB / 1.033 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.8323, allocations: 19.98 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006635/0.833, allocations: 368 kB / 1.033 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005937/0.8336, allocations: 333.9 kB / 1.034 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.8347, allocations: 0.5981 MB / 1.034 GB, free: 36 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.8347, allocations: 4 kB / 1.034 GB, free: 32 kB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001387/0.8361, allocations: 0.6338 MB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8361, allocations: 11.94 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8361, allocations: 3.938 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.8361, allocations: 4 kB / 1.035 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.837, allocations: 151.8 kB / 1.035 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.837, allocations: 4 kB / 1.035 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.8375, allocations: 55.98 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.8376, allocations: 15.98 kB / 1.035 GB, free: 15.15 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.8378, allocations: 208.1 kB / 1.035 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.8379, allocations: 19.72 kB / 1.035 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.8393, allocations: 0.6882 MB / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.8394, allocations: 4 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8394, allocations: 0 / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8394, allocations: 3.984 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.8417, allocations: 1.363 MB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.8417, allocations: 4.297 kB / 1.037 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.8423, allocations: 123.8 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8423, allocations: 4 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.8424, allocations: 11.98 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.8424, allocations: 7.938 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8424, allocations: 0 / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.8435, allocations: 0.7107 MB / 1.038 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.8436, allocations: 136.9 kB / 1.038 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.8437, allocations: 15.91 kB / 1.038 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.8441, allocations: 43.88 kB / 1.038 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.8442, allocations: 31.91 kB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.8442, allocations: 12 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001837/0.8444, allocations: 156.4 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8444, allocations: 0 / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007135/0.8452, allocations: 144 kB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002491/0.8454, allocations: 135.2 kB / 1.039 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.8472, allocations: 0.8674 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8472, allocations: 8 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.8477, allocations: 256.2 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.8482, allocations: 48.41 kB / 1.04 GB, free: 9.996 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.8496, allocations: 0.8137 MB / 1.041 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.85, allocations: 0.7799 MB / 1.042 GB, free: 8.332 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000617/0.8506, allocations: 174.8 kB / 1.042 GB, free: 8.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.8508, allocations: 35.42 kB / 1.042 GB, free: 8.125 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.8508, allocations: 0 / 1.042 GB, free: 8.125 MB / 0.795 GB Notification: Performance of Templates: time 0.009448/0.8603, allocations: 4.951 MB / 1.047 GB, free: 3.195 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches