Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_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_9_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.0009178/0.0009179, allocations: 91.92 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.001137/0.001137, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.289 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.45/2.45, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003595, allocations: 8 kB / 0.8166 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7451, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00328/0.7484, allocations: 3.028 MB / 0.9587 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.7514, allocations: 2.143 MB / 0.9608 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.7516, allocations: 8.062 kB / 0.9608 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.7518, allocations: 41.2 kB / 0.9608 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.7523, allocations: 216.7 kB / 0.961 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.753, allocations: 270.9 kB / 0.9613 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.7535, allocations: 0.5215 MB / 0.9618 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.7541, allocations: 336.1 kB / 0.9621 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.7543, allocations: 127.3 kB / 0.9622 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.7546, allocations: 171 kB / 0.9624 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.7546, allocations: 14.97 kB / 0.9624 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.7554, allocations: 0.4968 MB / 0.9629 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.7555, allocations: 89.66 kB / 0.963 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.7557, allocations: 156.8 kB / 0.9631 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.7561, allocations: 383.2 kB / 0.9635 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7561, allocations: 0 / 0.9635 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7561, allocations: 1.281 kB / 0.9635 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.7561, allocations: 0 / 0.9635 GB, free: 1.836 MB / 0.7169 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.0007966/0.7569, allocations: 0.5722 MB / 0.9641 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.757, allocations: 9.438 kB / 0.9641 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.7578, allocations: 120.4 kB / 0.9642 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.7581, allocations: 278.9 kB / 0.9645 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.7582, allocations: 13.97 kB / 0.9645 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.7582, allocations: 21.92 kB / 0.9645 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.7588, allocations: 423.2 kB / 0.9649 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7589, allocations: 5.438 kB / 0.9649 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.7589, allocations: 10.91 kB / 0.9649 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.523e-05/0.759, allocations: 35.25 kB / 0.9649 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.7596, allocations: 350.2 kB / 0.9653 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.762, allocations: 2.065 MB / 0.9673 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008449/0.7628, allocations: 366.2 kB / 0.9676 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.7633, allocations: 201.5 kB / 0.9678 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.7634, allocations: 91.03 kB / 0.9679 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.7635, allocations: 32.56 kB / 0.9679 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.7635, allocations: 1.062 kB / 0.9679 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005644/0.7691, allocations: 1.747 MB / 0.9697 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.7692, allocations: 85.86 kB / 0.9697 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.7695, allocations: 246.6 kB / 0.97 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.7695, allocations: 31.7 kB / 0.97 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.7696, allocations: 182.2 kB / 0.9702 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.7697, allocations: 109.2 kB / 0.9703 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.7698, allocations: 41.83 kB / 0.9703 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7699, allocations: 333.9 kB / 0.9706 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.7704, allocations: 210.6 kB / 0.9708 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.7709, allocations: 310.7 kB / 0.9711 GB, free: 12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.7718, allocations: 0.5235 MB / 0.9716 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7718, allocations: 5.203 kB / 0.9716 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001371/0.7732, allocations: 0.6836 MB / 0.9723 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.7733, allocations: 173.8 kB / 0.9725 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7733, allocations: 7.125 kB / 0.9725 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/0.7739, allocations: 153.3 kB / 0.9726 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.7743, allocations: 96.28 kB / 0.9727 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.7777, allocations: 3.949 MB / 0.9766 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.7781, allocations: 41.95 kB / 0.9766 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.7781, allocations: 16.94 kB / 0.9766 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.7781, allocations: 5.344 kB / 0.9766 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/0.7794, allocations: 0.6294 MB / 0.9773 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7795, allocations: 3.688 kB / 0.9773 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.7798, allocations: 145.5 kB / 0.9774 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.7802, allocations: 96.62 kB / 0.9775 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006419/0.7809, allocations: 1.105 MB / 0.9786 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.7812, allocations: 44.64 kB / 0.9786 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7813, allocations: 17.2 kB / 0.9786 GB, free: 5.426 MB / 0.7325 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.0002568/0.7815, allocations: 255.8 kB / 0.9789 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.479e-05/0.7816, allocations: 28.56 kB / 0.9789 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.783, allocations: 0.6288 MB / 0.9795 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.783, allocations: 4.188 kB / 0.9795 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.783, allocations: 0.8438 kB / 0.9795 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.783, allocations: 0.9688 kB / 0.9795 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.7853, allocations: 1.352 MB / 0.9808 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7853, allocations: 10.91 kB / 0.9809 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.7856, allocations: 68.61 kB / 0.9809 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.7861, allocations: 159.7 kB / 0.9811 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.7861, allocations: 11.59 kB / 0.9811 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.7891, allocations: 3.962 MB / 0.985 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.7892, allocations: 2.969 kB / 0.985 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.7904, allocations: 0.7854 MB / 0.9857 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.7906, allocations: 152.6 kB / 0.9859 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.7907, allocations: 8 kB / 0.9859 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.791, allocations: 31.97 kB / 0.9859 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.7911, allocations: 35.89 kB / 0.9859 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.7911, allocations: 16 kB / 0.986 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001594/0.7913, allocations: 168.5 kB / 0.9861 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7913, allocations: 0 / 0.9861 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007934/0.7921, allocations: 164 kB / 0.9863 GB, free: 14.45 MB / 0.7481 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.0002244/0.7923, allocations: 147.6 kB / 0.9864 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.7944, allocations: 1.193 MB / 0.9876 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7944, allocations: 0 / 0.9876 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.7952, allocations: 498.1 kB / 0.9881 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.7958, allocations: 69.11 kB / 0.9881 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.7971, allocations: 0.9385 MB / 0.989 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.7975, allocations: 0.8006 MB / 0.9898 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.7976, allocations: 31.44 kB / 0.9898 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.7976, allocations: 4 kB / 0.9899 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.01162/0.8093, allocations: 8.949 MB / 0.9986 GB, free: 1.656 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches