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.0008691/0.0008689, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 182 kB / 16.92 MB, free: 6.922 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.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.332 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.594/2.594, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6758, allocations: 153.8 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00391/0.6797, allocations: 3.023 MB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003292/0.683, allocations: 2.147 MB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.6832, allocations: 4 kB / 1.029 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.6834, allocations: 39.64 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.6841, allocations: 231.1 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.6849, allocations: 258.9 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.6855, allocations: 0.5336 MB / 1.03 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.686, allocations: 339.3 kB / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.6863, allocations: 127.5 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.6866, allocations: 171.3 kB / 1.03 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.6867, allocations: 12 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.6874, allocations: 0.499 MB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.6875, allocations: 91.64 kB / 1.031 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.6877, allocations: 153 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.6882, allocations: 391 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6883, allocations: 8 kB / 1.032 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6883, allocations: 4 kB / 1.032 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6883, allocations: 0 / 1.032 GB, free: 7.93 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.0009328/0.6892, allocations: 0.5458 MB / 1.032 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6893, allocations: 12.03 kB / 1.032 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.6902, allocations: 128.4 kB / 1.032 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.6905, allocations: 276.2 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6906, allocations: 16.81 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.6906, allocations: 20.36 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.6913, allocations: 427.8 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6913, allocations: 0 / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.6914, allocations: 8 kB / 1.033 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/0.6914, allocations: 36.53 kB / 1.033 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.6921, allocations: 361.9 kB / 1.033 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.6945, allocations: 2.058 MB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.6953, allocations: 357.1 kB / 1.036 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.6958, allocations: 201.5 kB / 1.036 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.6959, allocations: 89.08 kB / 1.036 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.6959, allocations: 38.56 kB / 1.036 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.6959, allocations: 0 / 1.036 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005367/0.7013, allocations: 1.749 MB / 1.038 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.7014, allocations: 85.05 kB / 1.038 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.7016, allocations: 236.9 kB / 1.038 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.7016, allocations: 29.7 kB / 1.038 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.7018, allocations: 184 kB / 1.038 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.7019, allocations: 114.3 kB / 1.038 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.7019, allocations: 37.7 kB / 1.038 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7021, allocations: 342.8 kB / 1.039 GB, free: 200 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.7025, allocations: 196.8 kB / 1.039 GB, free: 4 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.7029, allocations: 321 kB / 1.039 GB, free: 15.65 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008974/0.7038, allocations: 0.5319 MB / 1.04 GB, free: 15.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.7039, allocations: 4 kB / 1.04 GB, free: 15.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001318/0.7052, allocations: 0.6681 MB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.7053, allocations: 186 kB / 1.04 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7053, allocations: 3.984 kB / 1.04 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.7059, allocations: 159.3 kB / 1.041 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.7063, allocations: 99.75 kB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.7091, allocations: 3.958 MB / 1.045 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.7095, allocations: 40.12 kB / 1.045 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.7096, allocations: 20 kB / 1.045 GB, free: 9.555 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.7096, allocations: 7.938 kB / 1.045 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/0.7108, allocations: 0.6239 MB / 1.045 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7109, allocations: 4 kB / 1.045 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.7113, allocations: 139.3 kB / 1.045 GB, free: 8.758 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.7117, allocations: 108 kB / 1.046 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006302/0.7123, allocations: 1.105 MB / 1.047 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.7126, allocations: 40.16 kB / 1.047 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.7127, allocations: 12 kB / 1.047 GB, free: 7.445 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.0002348/0.7129, allocations: 254.5 kB / 1.047 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.713, allocations: 31.61 kB / 1.047 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.7143, allocations: 0.6282 MB / 1.048 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7143, allocations: 4 kB / 1.048 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7143, allocations: 0 / 1.048 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7144, allocations: 7.984 kB / 1.048 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.7166, allocations: 1.35 MB / 1.049 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7167, allocations: 4 kB / 1.049 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.7169, allocations: 71.89 kB / 1.049 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.7174, allocations: 155.5 kB / 1.049 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.7175, allocations: 8 kB / 1.049 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/0.7202, allocations: 3.965 MB / 1.053 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7202, allocations: 0 / 1.053 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.7215, allocations: 0.7968 MB / 1.054 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.7217, allocations: 144.6 kB / 1.054 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.7217, allocations: 12 kB / 1.054 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.7221, allocations: 39.95 kB / 1.054 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.7221, allocations: 27.97 kB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.7222, allocations: 12 kB / 1.054 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001596/0.7223, allocations: 172.5 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7223, allocations: 0 / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007452/0.7231, allocations: 160 kB / 1.054 GB, free: 15.07 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.000237/0.7233, allocations: 143.1 kB / 1.054 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.7254, allocations: 1.194 MB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7254, allocations: 4.188 kB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.7262, allocations: 498.4 kB / 1.056 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.7269, allocations: 64.28 kB / 1.056 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.7282, allocations: 0.9321 MB / 1.057 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.7285, allocations: 0.8006 MB / 1.058 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.7286, allocations: 39.36 kB / 1.058 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.7287, allocations: 0 / 1.058 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.01132/0.74, allocations: 8.942 MB / 1.067 GB, free: 2.293 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