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.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.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.001067/0.001067, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009975/0.009976, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.94/2.94, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7716, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005212/0.7768, allocations: 3.027 MB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.7807, allocations: 2.143 MB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.781, allocations: 4 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.7812, allocations: 47.64 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.7819, allocations: 219.1 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.7827, allocations: 263.4 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.7834, allocations: 0.5259 MB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000694/0.7841, allocations: 347.1 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.7844, allocations: 123.4 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.7847, allocations: 171.4 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.7848, allocations: 15.98 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.7857, allocations: 0.4912 MB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.7859, allocations: 99.7 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.7861, allocations: 149 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009241/0.787, allocations: 0.514 MB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.787, allocations: 0 / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.694e-06/0.787, allocations: 0 / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.787, allocations: 0 / 1.031 GB, free: 7.672 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.001156/0.7882, allocations: 0.573 MB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7882, allocations: 8.031 kB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.7892, allocations: 124.4 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.7896, allocations: 272.3 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.7896, allocations: 20.75 kB / 1.032 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.7897, allocations: 24.36 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.7904, allocations: 423.9 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7904, allocations: 0 / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.7904, allocations: 8 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/0.7905, allocations: 40.53 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.7912, allocations: 357.9 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.7938, allocations: 2.05 MB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.7947, allocations: 365 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.7951, allocations: 193.6 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.7952, allocations: 93.09 kB / 1.035 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.7953, allocations: 38.5 kB / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.7953, allocations: 3.938 kB / 1.035 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005535/0.8008, allocations: 1.757 MB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8009, allocations: 85.05 kB / 1.037 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.8012, allocations: 232.9 kB / 1.037 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.8012, allocations: 41.64 kB / 1.037 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.8013, allocations: 180 kB / 1.038 GB, free: 416 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8015, allocations: 118.3 kB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.8015, allocations: 37.7 kB / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8017, allocations: 338.8 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.8021, allocations: 200.8 kB / 1.038 GB, free: 15.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.8026, allocations: 317.1 kB / 1.039 GB, free: 15.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.8036, allocations: 0.5358 MB / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8036, allocations: 0 / 1.039 GB, free: 14.78 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001403/0.805, allocations: 0.672 MB / 1.04 GB, free: 14.09 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.8052, allocations: 178.3 kB / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8052, allocations: 4 kB / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.8058, allocations: 151.3 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.8062, allocations: 95.88 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.8092, allocations: 3.969 MB / 1.044 GB, free: 9.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.8096, allocations: 35.97 kB / 1.044 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.8096, allocations: 12 kB / 1.044 GB, free: 9.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8097, allocations: 4 kB / 1.044 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/0.8109, allocations: 0.6396 MB / 1.045 GB, free: 8.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.811, allocations: 4 kB / 1.045 GB, free: 8.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.8114, allocations: 139.5 kB / 1.045 GB, free: 8.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.8118, allocations: 95.88 kB / 1.045 GB, free: 8.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007022/0.8125, allocations: 1.116 MB / 1.046 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.8129, allocations: 39.91 kB / 1.046 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.8129, allocations: 19.98 kB / 1.046 GB, free: 7.152 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.0002893/0.8132, allocations: 245.1 kB / 1.046 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8133, allocations: 35.61 kB / 1.046 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.8147, allocations: 0.6167 MB / 1.047 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.8148, allocations: 8 kB / 1.047 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8148, allocations: 0 / 1.047 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8148, allocations: 3.984 kB / 1.047 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.8174, allocations: 1.354 MB / 1.048 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8174, allocations: 0 / 1.048 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.8176, allocations: 72.14 kB / 1.048 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.8181, allocations: 155.1 kB / 1.049 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.8182, allocations: 16 kB / 1.049 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.8213, allocations: 3.965 MB / 1.052 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8213, allocations: 4.031 kB / 1.052 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.8227, allocations: 0.789 MB / 1.053 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.8228, allocations: 140.6 kB / 1.053 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.8229, allocations: 12 kB / 1.053 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.8233, allocations: 39.95 kB / 1.053 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.8234, allocations: 31.91 kB / 1.053 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.8234, allocations: 12 kB / 1.053 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002055/0.8236, allocations: 176.5 kB / 1.054 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8236, allocations: 0 / 1.054 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000833/0.8245, allocations: 160 kB / 1.054 GB, free: 14.79 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.0002454/0.8247, allocations: 139.1 kB / 1.054 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.8271, allocations: 1.198 MB / 1.055 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8271, allocations: 0 / 1.055 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.828, allocations: 498.8 kB / 1.056 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.8287, allocations: 60.39 kB / 1.056 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.8304, allocations: 0.902 MB / 1.056 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.8309, allocations: 0.8045 MB / 1.057 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003904/0.8313, allocations: 114.9 kB / 1.057 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.8314, allocations: 27.44 kB / 1.057 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.8314, allocations: 0 / 1.057 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.01164/0.8431, allocations: 5.635 MB / 1.063 GB, free: 5.281 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/jenkins/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