Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001409/0.001409, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 482.2 MB / 0.7548 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.09 kB / 0.9238 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 162.2 MB / 1.082 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004181/1.06, allocations: 2.784 MB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00353/1.064, allocations: 2.072 MB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/1.064, allocations: 6.25 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007957/1.065, allocations: 212.7 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005182/1.065, allocations: 196.3 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/1.066, allocations: 250.2 kB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/1.066, allocations: 321.3 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/1.067, allocations: 176.2 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/1.067, allocations: 122.3 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/1.067, allocations: 167.6 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/1.067, allocations: 18.56 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007206/1.068, allocations: 410.9 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/1.068, allocations: 101.8 kB / 1.089 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/1.068, allocations: 116.2 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/1.069, allocations: 363.4 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.069, allocations: 4 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.803e-06/1.069, allocations: 0 / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.069, allocations: 3.938 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009908/1.07, allocations: 0.5535 MB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/1.07, allocations: 9.188 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/1.071, allocations: 137.1 kB / 1.09 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/1.071, allocations: 259.6 kB / 1.09 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.071, allocations: 19.83 kB / 1.09 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/1.071, allocations: 21.44 kB / 1.09 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/1.072, allocations: 394.8 kB / 1.091 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.072, allocations: 5.094 kB / 1.091 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/1.072, allocations: 6.188 kB / 1.091 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/1.072, allocations: 25.84 kB / 1.091 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007931/1.073, allocations: 373.2 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/1.075, allocations: 1.738 MB / 1.093 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/1.076, allocations: 356 kB / 1.093 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/1.077, allocations: 191.9 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/1.077, allocations: 95.94 kB / 1.093 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.077, allocations: 37.62 kB / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/1.077, allocations: 0 / 1.093 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.009365/1.086, allocations: 2.044 MB / 1.095 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.086, allocations: 89.33 kB / 1.095 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/1.087, allocations: 183.6 kB / 1.096 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/1.087, allocations: 30.86 kB / 1.096 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.087, allocations: 154.6 kB / 1.096 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/1.087, allocations: 120.1 kB / 1.096 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/1.087, allocations: 76.31 kB / 1.096 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.087, allocations: 332.2 kB / 1.096 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/1.088, allocations: 269.7 kB / 1.097 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/1.088, allocations: 345.6 kB / 1.097 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.09, allocations: 0.6158 MB / 1.097 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.09, allocations: 7.938 kB / 1.097 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001516/1.091, allocations: 0.6659 MB / 1.098 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.091, allocations: 5.844 kB / 1.098 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.091, allocations: 2.156 kB / 1.098 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.091, allocations: 5.203 kB / 1.098 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.092, allocations: 152.8 kB / 1.098 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.092, allocations: 9.297 kB / 1.098 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/1.093, allocations: 59.61 kB / 1.098 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/1.093, allocations: 14.97 kB / 1.098 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000714/1.094, allocations: 370.1 kB / 1.099 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006313/1.094, allocations: 338.4 kB / 1.099 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001212/1.096, allocations: 0.5947 MB / 1.1 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/1.096, allocations: 1.156 kB / 1.1 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001417/1.097, allocations: 0.6415 MB / 1.1 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.097, allocations: 5.969 kB / 1.1 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.097, allocations: 5.984 kB / 1.1 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/1.097, allocations: 4.906 kB / 1.1 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/1.098, allocations: 145.2 kB / 1.1 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/1.098, allocations: 7.75 kB / 1.1 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/1.099, allocations: 55.44 kB / 1.1 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.099, allocations: 25.12 kB / 1.1 GB, free: 7.371 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002233/1.099, allocations: 200 kB / 1.101 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/1.099, allocations: 18.97 kB / 1.101 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/1.1, allocations: 0.6902 MB / 1.101 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.101, allocations: 3.375 kB / 1.101 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.101, allocations: 1.125 kB / 1.101 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.101, allocations: 3.375 kB / 1.101 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/1.103, allocations: 1.366 MB / 1.103 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.103, allocations: 2.344 kB / 1.103 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.104, allocations: 120.8 kB / 1.103 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.104, allocations: 3.938 kB / 1.103 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.104, allocations: 13.17 kB / 1.103 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.104, allocations: 7.594 kB / 1.103 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.104, allocations: 10.95 kB / 1.103 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.105, allocations: 0.7084 MB / 1.104 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.105, allocations: 143.5 kB / 1.104 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/1.105, allocations: 8.734 kB / 1.104 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/1.105, allocations: 48.12 kB / 1.104 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/1.106, allocations: 24.67 kB / 1.104 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/1.106, allocations: 10.14 kB / 1.104 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002023/1.106, allocations: 158.1 kB / 1.104 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.106, allocations: 0 / 1.104 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007945/1.107, allocations: 147.4 kB / 1.104 GB, free: 5.305 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/1.107, allocations: 136.7 kB / 1.104 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.109, allocations: 0.9108 MB / 1.105 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.109, allocations: 0 / 1.105 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/1.11, allocations: 266.1 kB / 1.105 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/1.11, allocations: 44.3 kB / 1.105 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/1.112, allocations: 0.8519 MB / 1.106 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/1.112, allocations: 0.7816 MB / 1.107 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.112, allocations: 38.56 kB / 1.107 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/1.112, allocations: 3.938 kB / 1.107 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.01112/1.123, allocations: 4.951 MB / 1.112 GB, free: 3.129 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches