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.001592/0.001592, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001307/0.001307, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.664/1.664, allocations: 222.9 MB / 241 MB, free: 15.14 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.519/2.519, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 67.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9941, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005009/0.9992, allocations: 2.754 MB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00399/1.003, allocations: 2.078 MB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/1.004, allocations: 11.81 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009641/1.005, allocations: 225.9 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008068/1.005, allocations: 219.4 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/1.007, allocations: 277.6 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006352/1.007, allocations: 322.6 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/1.008, allocations: 160.9 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/1.008, allocations: 123.2 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/1.008, allocations: 158.1 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/1.008, allocations: 19.03 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/1.01, allocations: 410.9 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/1.01, allocations: 102.4 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/1.01, allocations: 113.5 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/1.011, allocations: 485.2 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/1.011, allocations: 0.6875 kB / 1.096 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.286e-06/1.011, allocations: 4.609 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.011, allocations: 0 / 1.096 GB, free: 1.121 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.001096/1.012, allocations: 0.5605 MB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.012, allocations: 9.812 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.013, allocations: 129.2 kB / 1.097 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/1.014, allocations: 264.8 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.014, allocations: 21.55 kB / 1.097 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/1.014, allocations: 20 kB / 1.097 GB, free: 364 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/1.015, allocations: 395.8 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.015, allocations: 4.719 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/1.015, allocations: 6.219 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/1.015, allocations: 26.19 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/1.016, allocations: 380 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002652/1.018, allocations: 1.728 MB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/1.019, allocations: 352.7 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/1.02, allocations: 191.6 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/1.02, allocations: 99.5 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.02, allocations: 33.61 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 3.938e-06/1.02, allocations: 0 / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.009657/1.03, allocations: 2.055 MB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/1.03, allocations: 81.86 kB / 1.102 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/1.03, allocations: 179.4 kB / 1.102 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/1.03, allocations: 31.36 kB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.03, allocations: 151.2 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.03, allocations: 118.7 kB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.031, allocations: 77.55 kB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.031, allocations: 334.9 kB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/1.031, allocations: 262.7 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/1.032, allocations: 346.9 kB / 1.103 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/1.034, allocations: 0.6254 MB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.034, allocations: 5.156 kB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001671/1.035, allocations: 0.66 MB / 1.105 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.035, allocations: 5.875 kB / 1.105 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.035, allocations: 3.656 kB / 1.105 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.035, allocations: 12.5 kB / 1.105 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.036, allocations: 152.7 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/1.036, allocations: 8.266 kB / 1.105 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/1.037, allocations: 56.95 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/1.037, allocations: 13.75 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007923/1.038, allocations: 375.1 kB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006813/1.038, allocations: 338.7 kB / 1.106 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/1.04, allocations: 0.5869 MB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.04, allocations: 5.078 kB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001603/1.041, allocations: 0.6406 MB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.041, allocations: 7.453 kB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.041, allocations: 2.562 kB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/1.041, allocations: 4 kB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/1.042, allocations: 154 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.042, allocations: 3.906 kB / 1.107 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/1.043, allocations: 54.62 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/1.043, allocations: 17.72 kB / 1.107 GB, free: 11.08 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.000271/1.043, allocations: 206.3 kB / 1.107 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.043, allocations: 23.23 kB / 1.107 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/1.045, allocations: 0.6774 MB / 1.108 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.045, allocations: 3.844 kB / 1.108 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.045, allocations: 2.203 kB / 1.108 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.045, allocations: 1.875 kB / 1.108 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/1.048, allocations: 1.374 MB / 1.109 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.048, allocations: 2.594 kB / 1.109 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/1.049, allocations: 115.4 kB / 1.109 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.049, allocations: 8.344 kB / 1.109 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/1.049, allocations: 17.38 kB / 1.109 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/1.049, allocations: 7.859 kB / 1.109 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.049, allocations: 2.281 kB / 1.109 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/1.05, allocations: 0.7153 MB / 1.11 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.05, allocations: 140.1 kB / 1.11 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/1.05, allocations: 9.25 kB / 1.11 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/1.051, allocations: 47.81 kB / 1.11 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.051, allocations: 37.83 kB / 1.11 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.051, allocations: 10.12 kB / 1.11 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002231/1.051, allocations: 147.2 kB / 1.11 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.051, allocations: 0 / 1.11 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008657/1.052, allocations: 146.8 kB / 1.111 GB, free: 9.004 MB / 0.8731 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.0002869/1.052, allocations: 137.9 kB / 1.111 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00221/1.055, allocations: 0.8725 MB / 1.112 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.055, allocations: 0 / 1.112 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/1.055, allocations: 257.7 kB / 1.112 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/1.056, allocations: 59.53 kB / 1.112 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/1.057, allocations: 0.7376 MB / 1.113 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/1.058, allocations: 0.7776 MB / 1.113 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.058, allocations: 37.12 kB / 1.113 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of SimCode: time 1.263e-06/1.058, allocations: 1.062 kB / 1.113 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of Templates: time 0.01308/1.071, allocations: 4.963 MB / 1.118 GB, free: 6.945 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