Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001667/0.001667, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001616/0.001617, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 60.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9021, allocations: 157.4 MB / 1.208 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005774/0.9079, allocations: 3.363 MB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.9118, allocations: 2.154 MB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.9121, allocations: 4 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.9133, allocations: 290.8 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.914, allocations: 238.9 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009189/0.915, allocations: 302.4 kB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.9156, allocations: 386.7 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.916, allocations: 204.6 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.9164, allocations: 155.4 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.9168, allocations: 179.4 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.9169, allocations: 27.94 kB / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.9177, allocations: 423.2 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.9179, allocations: 103.6 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.9181, allocations: 143.2 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009445/0.919, allocations: 0.5082 MB / 1.217 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.9191, allocations: 3.984 kB / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.697e-06/0.9191, allocations: 0 / 1.217 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.9191, allocations: 3.938 kB / 1.217 GB, free: 5.035 MB / 0.9356 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.001229/0.9203, allocations: 0.608 MB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.9204, allocations: 8.031 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009758/0.9213, allocations: 120.4 kB / 1.217 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.9218, allocations: 283.7 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.9219, allocations: 12.81 kB / 1.218 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.9219, allocations: 28.36 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.9227, allocations: 415.9 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.9227, allocations: 0 / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.9228, allocations: 12 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.9228, allocations: 32.53 kB / 1.218 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.9235, allocations: 345.9 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.9263, allocations: 2.05 MB / 1.22 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.9271, allocations: 353 kB / 1.221 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.9275, allocations: 185.6 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.9277, allocations: 89.09 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.9277, allocations: 38.5 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.9277, allocations: 0 / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.005048/0.9328, allocations: 1.579 MB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.9329, allocations: 85.33 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.9332, allocations: 229 kB / 1.223 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.9332, allocations: 29.7 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.9334, allocations: 199.9 kB / 1.223 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.9335, allocations: 118.3 kB / 1.223 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.9336, allocations: 78.05 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9338, allocations: 334.8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.9342, allocations: 198.5 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.9346, allocations: 309 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.9355, allocations: 0.5001 MB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9355, allocations: 3.984 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001435/0.937, allocations: 0.6569 MB / 1.225 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.937, allocations: 11.98 kB / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.937, allocations: 0 / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.9376, allocations: 143.4 kB / 1.225 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.938, allocations: 95.88 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/0.9415, allocations: 4.174 MB / 1.23 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.9419, allocations: 39.94 kB / 1.23 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.942, allocations: 15.94 kB / 1.23 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000558/0.9425, allocations: 320.8 kB / 1.23 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004776/0.943, allocations: 305.1 kB / 1.23 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008883/0.9439, allocations: 0.5114 MB / 1.231 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.9439, allocations: 0 / 1.231 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001414/0.9454, allocations: 0.6522 MB / 1.231 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9454, allocations: 8.406 kB / 1.231 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9454, allocations: 8 kB / 1.231 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.9459, allocations: 143.3 kB / 1.232 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.9463, allocations: 91.81 kB / 1.232 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.9499, allocations: 4.166 MB / 1.236 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.9503, allocations: 35.95 kB / 1.236 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.9503, allocations: 24.12 kB / 1.236 GB, free: 136 kB / 0.9512 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.0002695/0.9506, allocations: 208 kB / 1.236 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.9507, allocations: 31.62 kB / 1.236 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.9521, allocations: 0.6012 MB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.9521, allocations: 4 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9521, allocations: 3.938 kB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9521, allocations: 4 kB / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.9546, allocations: 1.322 MB / 1.238 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9546, allocations: 0 / 1.238 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.9549, allocations: 59.89 kB / 1.238 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.9553, allocations: 151.6 kB / 1.238 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.9554, allocations: 8 kB / 1.238 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.9589, allocations: 4.201 MB / 1.242 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9589, allocations: 0 / 1.242 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.9602, allocations: 0.7719 MB / 1.243 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.9604, allocations: 140.6 kB / 1.243 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.9605, allocations: 15.98 kB / 1.243 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.9608, allocations: 27.97 kB / 1.243 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.9609, allocations: 31.91 kB / 1.243 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.961, allocations: 15.94 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000205/0.9612, allocations: 176.5 kB / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9612, allocations: 0 / 1.243 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009054/0.9621, allocations: 164 kB / 1.243 GB, free: 7.66 MB / 0.9669 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.0002995/0.9624, allocations: 143.1 kB / 1.244 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002387/0.9648, allocations: 1.226 MB / 1.245 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.9648, allocations: 4 kB / 1.245 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.9656, allocations: 0.4904 MB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.9663, allocations: 55.81 kB / 1.245 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.9679, allocations: 0.7926 MB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.9684, allocations: 0.8084 MB / 1.247 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.9685, allocations: 35.44 kB / 1.247 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.9685, allocations: 0 / 1.247 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of Templates: time 0.0158/0.9844, allocations: 9.114 MB / 1.256 GB, free: 10.84 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches