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.007982/0.007981, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.001323/0.001324, allocations: 196.6 kB / 16.68 MB, free: 5.977 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.66/1.66, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.651/2.651, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 60.36 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.195, allocations: 151.7 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006332/1.202, allocations: 3.344 MB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004182/1.206, allocations: 2.166 MB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/1.206, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.207, allocations: 292 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008369/1.208, allocations: 238.9 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/1.209, allocations: 296.4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007077/1.21, allocations: 386.7 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/1.21, allocations: 212.7 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/1.211, allocations: 163.4 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/1.211, allocations: 167.4 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/1.211, allocations: 20 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009508/1.212, allocations: 431.1 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/1.213, allocations: 103.7 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/1.213, allocations: 135.3 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/1.214, allocations: 0.5183 MB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.214, allocations: 4 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.602e-06/1.214, allocations: 4 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.385e-05/1.214, allocations: 3.938 kB / 1.175 GB, free: 11.37 MB / 0.9044 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.001498/1.216, allocations: 0.6073 MB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.216, allocations: 12.03 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.217, allocations: 116.6 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/1.217, allocations: 283.8 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.217, allocations: 20.8 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/1.217, allocations: 16.38 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/1.218, allocations: 423.8 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.218, allocations: 0 / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/1.218, allocations: 11.98 kB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/1.218, allocations: 32.55 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/1.219, allocations: 345.9 kB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/1.222, allocations: 2.054 MB / 1.179 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/1.223, allocations: 357.6 kB / 1.179 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/1.224, allocations: 193.6 kB / 1.179 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/1.224, allocations: 81.11 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.224, allocations: 42.55 kB / 1.179 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/1.224, allocations: 0 / 1.179 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.005304/1.229, allocations: 1.58 MB / 1.181 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.229, allocations: 85.05 kB / 1.181 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/1.229, allocations: 229 kB / 1.181 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/1.23, allocations: 41.69 kB / 1.181 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.23, allocations: 176.4 kB / 1.181 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.23, allocations: 130.9 kB / 1.181 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.23, allocations: 78.12 kB / 1.182 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.23, allocations: 342.8 kB / 1.182 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/1.231, allocations: 198.4 kB / 1.182 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/1.231, allocations: 307.3 kB / 1.182 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/1.232, allocations: 0.5168 MB / 1.183 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.232, allocations: 0 / 1.183 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001376/1.233, allocations: 0.6601 MB / 1.183 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.233, allocations: 4 kB / 1.183 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.233, allocations: 4.406 kB / 1.184 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/1.234, allocations: 147.3 kB / 1.184 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/1.234, allocations: 87.88 kB / 1.184 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/1.238, allocations: 4.178 MB / 1.188 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/1.239, allocations: 39.95 kB / 1.188 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/1.239, allocations: 16 kB / 1.188 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005412/1.239, allocations: 321 kB / 1.188 GB, free: 12.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004972/1.24, allocations: 301 kB / 1.188 GB, free: 12.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009347/1.241, allocations: 0.5153 MB / 1.189 GB, free: 11.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.223e-06/1.241, allocations: 4 kB / 1.189 GB, free: 11.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001491/1.242, allocations: 0.6525 MB / 1.19 GB, free: 11.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.242, allocations: 7.984 kB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.242, allocations: 4 kB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/1.243, allocations: 147.4 kB / 1.19 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/1.243, allocations: 91.88 kB / 1.19 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/1.247, allocations: 4.178 MB / 1.194 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/1.248, allocations: 27.97 kB / 1.194 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/1.248, allocations: 16 kB / 1.194 GB, free: 6.43 MB / 0.92 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.0003286/1.248, allocations: 212.2 kB / 1.194 GB, free: 6.215 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.248, allocations: 27.81 kB / 1.194 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/1.25, allocations: 0.5971 MB / 1.195 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.25, allocations: 7.984 kB / 1.195 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.25, allocations: 7.875 kB / 1.195 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.25, allocations: 3.984 kB / 1.195 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/1.253, allocations: 1.323 MB / 1.196 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.253, allocations: 4 kB / 1.196 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/1.253, allocations: 63.89 kB / 1.196 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/1.253, allocations: 147.3 kB / 1.196 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/1.254, allocations: 12.19 kB / 1.196 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/1.258, allocations: 4.182 MB / 1.2 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.258, allocations: 7.969 kB / 1.2 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.259, allocations: 0.7718 MB / 1.201 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/1.26, allocations: 144.8 kB / 1.201 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/1.26, allocations: 12 kB / 1.201 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/1.26, allocations: 31.97 kB / 1.201 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.26, allocations: 35.89 kB / 1.201 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.26, allocations: 19.88 kB / 1.201 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001863/1.26, allocations: 168.5 kB / 1.202 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.26, allocations: 0 / 1.202 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009671/1.261, allocations: 163.9 kB / 1.202 GB, free: 13.96 MB / 0.9356 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.0002897/1.262, allocations: 147 kB / 1.202 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002509/1.264, allocations: 1.246 MB / 1.203 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.264, allocations: 0 / 1.203 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008618/1.265, allocations: 482.3 kB / 1.204 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/1.266, allocations: 74 kB / 1.204 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.267, allocations: 0.7475 MB / 1.204 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.268, allocations: 0.8123 MB / 1.205 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003521/1.268, allocations: 114.9 kB / 1.205 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/1.268, allocations: 27.42 kB / 1.205 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/1.268, allocations: 0 / 1.205 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.01522/1.284, allocations: 6.418 MB / 1.212 GB, free: 3.781 MB / 0.9356 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