Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001374, allocations: 112.1 kB / 16.42 MB, free: 6.023 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.001458/0.001458, allocations: 187.3 kB / 17.35 MB, free: 5.602 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.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 63.84 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.082, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.005264/1.088, allocations: 2.816 MB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003768/1.092, allocations: 2.08 MB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/1.092, allocations: 7.938 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/1.093, allocations: 231 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006824/1.094, allocations: 223.1 kB / 1.214 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/1.094, allocations: 279.2 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000508/1.095, allocations: 311.1 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/1.095, allocations: 154 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/1.096, allocations: 123.6 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/1.096, allocations: 159.4 kB / 1.215 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/1.096, allocations: 16 kB / 1.215 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/1.097, allocations: 415.2 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/1.097, allocations: 99.7 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/1.097, allocations: 111.4 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/1.098, allocations: 496.3 kB / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.098, allocations: 0 / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.098, allocations: 0 / 1.216 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.098, allocations: 0 / 1.216 GB, free: 6.145 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009323/1.099, allocations: 0.5537 MB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.099, allocations: 8.031 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/1.1, allocations: 140.5 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/1.1, allocations: 260.4 kB / 1.217 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/1.1, allocations: 16.81 kB / 1.217 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/1.101, allocations: 28.09 kB / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/1.101, allocations: 393.9 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.101, allocations: 4 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/1.101, allocations: 7.938 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/1.101, allocations: 27.98 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/1.102, allocations: 379.6 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.104, allocations: 1.73 MB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/1.105, allocations: 348.9 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/1.105, allocations: 197.6 kB / 1.22 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/1.105, allocations: 93.08 kB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.105, allocations: 34.56 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/1.105, allocations: 0 / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.008462/1.114, allocations: 2.051 MB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.114, allocations: 85.05 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.114, allocations: 183.5 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/1.114, allocations: 29.7 kB / 1.222 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/1.114, allocations: 156.2 kB / 1.222 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.114, allocations: 118.3 kB / 1.222 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/1.115, allocations: 77.69 kB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.115, allocations: 330.8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/1.115, allocations: 260.7 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/1.116, allocations: 349.5 kB / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.117, allocations: 0.619 MB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.117, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001456/1.119, allocations: 0.663 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.119, allocations: 12.03 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/1.119, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.119, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/1.12, allocations: 155.8 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/1.12, allocations: 4 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/1.12, allocations: 59.86 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/1.12, allocations: 19.98 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007535/1.121, allocations: 368 kB / 1.225 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000603/1.122, allocations: 341.9 kB / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001197/1.123, allocations: 0.5941 MB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.123, allocations: 7.938 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001362/1.124, allocations: 0.6336 MB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.124, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.124, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/1.124, allocations: 4.281 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/1.125, allocations: 155.7 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/1.125, allocations: 4 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/1.126, allocations: 51.92 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.126, allocations: 19.98 kB / 1.227 GB, free: 10.13 MB / 0.9512 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.000189/1.126, allocations: 208.1 kB / 1.227 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/1.126, allocations: 15.81 kB / 1.227 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/1.127, allocations: 0.6766 MB / 1.228 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.127, allocations: 7.984 kB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.128, allocations: 4 kB / 1.228 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/1.128, allocations: 140.8 kB / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/1.128, allocations: 16 kB / 1.228 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/1.128, allocations: 55.91 kB / 1.228 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/1.128, allocations: 23.91 kB / 1.228 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001656/1.13, allocations: 0.7967 MB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001268/1.131, allocations: 0.8036 MB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005022/1.132, allocations: 287.8 kB / 1.23 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002087/1.132, allocations: 155.1 kB / 1.23 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of Backend: time 1.282e-06/1.132, allocations: 0 / 1.23 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002644/1.135, allocations: 0.9245 MB / 1.231 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001273/1.136, allocations: 0.9181 MB / 1.232 GB, free: 5 MB / 0.9512 GB Notification: Performance of Templates: time 0.01912/1.155, allocations: 10.5 MB / 1.242 GB, free: 10.54 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches