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.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.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.008777/0.008777, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001906/0.001906, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.472/1.472, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.742/2.742, allocations: 437 MB / 0.7106 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 59.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7399, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005087/0.7451, allocations: 2.797 MB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.7488, allocations: 2.116 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.7491, allocations: 7.875 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.75, allocations: 219.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006443/0.7507, allocations: 203.3 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.7515, allocations: 235.4 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.7521, allocations: 462.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.7526, allocations: 154 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.7528, allocations: 103.6 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.7532, allocations: 159.5 kB / 1.024 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.7533, allocations: 12 kB / 1.024 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.7542, allocations: 483.1 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.7544, allocations: 91.72 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.7545, allocations: 107.5 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.7552, allocations: 373.1 kB / 1.025 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7552, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7552, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7552, allocations: 0 / 1.025 GB, free: 11.28 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.001181/0.7564, allocations: 0.5499 MB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7564, allocations: 12.03 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.7576, allocations: 128.5 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.7579, allocations: 265.7 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.758, allocations: 12.81 kB / 1.026 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.758, allocations: 24.12 kB / 1.026 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.7588, allocations: 393.9 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7588, allocations: 0 / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.7589, allocations: 11.98 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.7589, allocations: 23.98 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.7597, allocations: 379.6 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.7619, allocations: 1.741 MB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.7627, allocations: 356.9 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.7631, allocations: 189.6 kB / 1.029 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.7633, allocations: 89.09 kB / 1.029 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.7633, allocations: 38.56 kB / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.245e-06/0.7633, allocations: 0 / 1.029 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.009276/0.7726, allocations: 2.057 MB / 1.031 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.7727, allocations: 89.05 kB / 1.031 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.7729, allocations: 182.6 kB / 1.031 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.773, allocations: 29.7 kB / 1.031 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.7731, allocations: 148.4 kB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.7732, allocations: 122.2 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.7734, allocations: 77.69 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7736, allocations: 334.8 kB / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.7742, allocations: 268.7 kB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.7748, allocations: 345.5 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.776, allocations: 0.619 MB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7761, allocations: 7.938 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001448/0.7775, allocations: 0.662 MB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.7776, allocations: 4 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7776, allocations: 4 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7776, allocations: 7.984 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7786, allocations: 156.1 kB / 1.034 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.7786, allocations: 8 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.7791, allocations: 51.92 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.7792, allocations: 19.98 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006753/0.7799, allocations: 375.9 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006506/0.7805, allocations: 333.9 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/0.7817, allocations: 0.5981 MB / 1.035 GB, free: 152 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.7817, allocations: 0 / 1.035 GB, free: 152 kB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001416/0.7832, allocations: 0.6298 MB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7832, allocations: 4 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7832, allocations: 7.938 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.7832, allocations: 7.984 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/0.7842, allocations: 147.7 kB / 1.036 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.7842, allocations: 8.172 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.7847, allocations: 55.94 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.7848, allocations: 15.98 kB / 1.036 GB, free: 15.27 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.0002129/0.785, allocations: 200.1 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7851, allocations: 23.72 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.7866, allocations: 0.692 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.7867, allocations: 4 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7867, allocations: 3.938 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.7867, allocations: 4 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.7891, allocations: 1.359 MB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.7891, allocations: 0 / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.7897, allocations: 123.8 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.7897, allocations: 4 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.7898, allocations: 8 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.7898, allocations: 11.88 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7898, allocations: 8 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.7909, allocations: 0.7108 MB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.7911, allocations: 136.9 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.7911, allocations: 11.91 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.7915, allocations: 43.88 kB / 1.039 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.7916, allocations: 27.97 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.7917, allocations: 16 kB / 1.039 GB, free: 11.72 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001982/0.7919, allocations: 148.4 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7919, allocations: 0 / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007422/0.7926, allocations: 148 kB / 1.039 GB, free: 11.43 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.0002365/0.7929, allocations: 131.2 kB / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.7948, allocations: 0.8789 MB / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7948, allocations: 0 / 1.04 GB, free: 10.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.7953, allocations: 256.1 kB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.7959, allocations: 45.84 kB / 1.041 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.7973, allocations: 0.8439 MB / 1.041 GB, free: 9.223 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.7977, allocations: 0.7877 MB / 1.042 GB, free: 8.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.7979, allocations: 39.42 kB / 1.042 GB, free: 8.371 MB / 0.795 GB Notification: Performance of SimCode: time 8.52e-07/0.7979, allocations: 0 / 1.042 GB, free: 8.371 MB / 0.795 GB Notification: Performance of Templates: time 0.008746/0.8066, allocations: 4.933 MB / 1.047 GB, free: 3.453 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/jenkins1/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