Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001954/0.001954, allocations: 114.4 kB / 16.42 MB, free: 6.008 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.002273/0.002273, allocations: 187.3 kB / 17.35 MB, free: 5.625 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.542/1.542, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004155/1.122, allocations: 2.745 MB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003349/1.125, allocations: 2.089 MB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/1.125, allocations: 3.812 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00082/1.126, allocations: 229.5 kB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005593/1.127, allocations: 219 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/1.127, allocations: 278.8 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/1.128, allocations: 321.3 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/1.128, allocations: 157.2 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/1.128, allocations: 128.4 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/1.129, allocations: 149.3 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/1.129, allocations: 18.91 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009655/1.13, allocations: 414.8 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/1.13, allocations: 102.8 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/1.13, allocations: 112.3 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009148/1.131, allocations: 489.9 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.131, allocations: 4.562 kB / 1.096 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/1.131, allocations: 0.9375 kB / 1.096 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.605e-06/1.131, allocations: 0 / 1.096 GB, free: 1.156 MB / 0.8575 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.001012/1.132, allocations: 0.5569 MB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.132, allocations: 9.047 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.133, allocations: 129.1 kB / 1.097 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/1.134, allocations: 264.8 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/1.134, allocations: 20.17 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/1.134, allocations: 25.66 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009776/1.135, allocations: 395.1 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.135, allocations: 9.156 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/1.135, allocations: 6.562 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/1.135, allocations: 25.2 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/1.136, allocations: 372.1 kB / 1.098 GB, free: 68 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/1.139, allocations: 1.736 MB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/1.14, allocations: 348.7 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/1.14, allocations: 188.6 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.14, allocations: 103.6 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.14, allocations: 33.55 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/1.14, allocations: 0 / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.009645/1.15, allocations: 2.052 MB / 1.102 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.15, allocations: 81.8 kB / 1.102 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/1.15, allocations: 179.4 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/1.15, allocations: 31.33 kB / 1.102 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.15, allocations: 146.8 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.151, allocations: 118.8 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/1.151, allocations: 77.11 kB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.151, allocations: 335.3 kB / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/1.152, allocations: 262.8 kB / 1.103 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/1.152, allocations: 353.7 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1.154, allocations: 0.6183 MB / 1.104 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.154, allocations: 1.438 kB / 1.104 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0015/1.155, allocations: 0.6647 MB / 1.105 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.155, allocations: 8.438 kB / 1.105 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.155, allocations: 6.156 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.155, allocations: 4.938 kB / 1.105 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.156, allocations: 155.9 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.156, allocations: 5.75 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/1.157, allocations: 56.5 kB / 1.105 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/1.157, allocations: 14.19 kB / 1.105 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007494/1.158, allocations: 375 kB / 1.105 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006725/1.158, allocations: 333.4 kB / 1.106 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/1.16, allocations: 0.5964 MB / 1.106 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/1.16, allocations: 0 / 1.106 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00147/1.161, allocations: 0.633 MB / 1.107 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.161, allocations: 7 kB / 1.107 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.161, allocations: 2.609 kB / 1.107 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/1.161, allocations: 4.094 kB / 1.107 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/1.162, allocations: 157.4 kB / 1.107 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/1.162, allocations: 8.406 kB / 1.107 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/1.163, allocations: 58.36 kB / 1.107 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/1.163, allocations: 13.47 kB / 1.107 GB, free: 11.12 MB / 0.8731 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.0002025/1.163, allocations: 207.3 kB / 1.107 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/1.163, allocations: 27.11 kB / 1.107 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.165, allocations: 0.6764 MB / 1.108 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.165, allocations: 3.922 kB / 1.108 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.165, allocations: 3.938 kB / 1.108 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/1.165, allocations: 142.7 kB / 1.108 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/1.165, allocations: 6.766 kB / 1.108 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/1.165, allocations: 63.33 kB / 1.108 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.166, allocations: 23.98 kB / 1.108 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00183/1.167, allocations: 0.7856 MB / 1.109 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001435/1.169, allocations: 0.8223 MB / 1.11 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006979/1.17, allocations: 279.9 kB / 1.11 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002566/1.17, allocations: 153.3 kB / 1.11 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of Backend: time 5.71e-07/1.17, allocations: 0 / 1.11 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002939/1.173, allocations: 0.9195 MB / 1.111 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00153/1.174, allocations: 0.9025 MB / 1.112 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.02744/1.202, allocations: 10.29 MB / 1.122 GB, free: 7.609 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches