Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001633/0.001633, allocations: 112.6 kB / 16.37 MB, free: 6 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.001839/0.001839, allocations: 196 kB / 17.31 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 68.84 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3754, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004749/0.3802, allocations: 2.743 MB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.3836, allocations: 2.022 MB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3838, allocations: 4 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.3847, allocations: 223.6 kB / 1.024 GB, free: 4.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.3852, allocations: 199.1 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.386, allocations: 275.8 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.3863, allocations: 319 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.3867, allocations: 154 kB / 1.025 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3869, allocations: 127.6 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.3871, allocations: 151.5 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.3872, allocations: 20 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.3878, allocations: 387.3 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3879, allocations: 91.77 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.388, allocations: 111.4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.3886, allocations: 474.7 kB / 1.026 GB, free: 2.578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3886, allocations: 4 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3886, allocations: 0 / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3886, allocations: 3.938 kB / 1.026 GB, free: 2.57 MB / 0.795 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.0009008/0.3896, allocations: 0.5459 MB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3896, allocations: 8.922 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/0.3903, allocations: 112.5 kB / 1.027 GB, free: 1.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3907, allocations: 273.8 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3907, allocations: 12.81 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.3908, allocations: 24.12 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.3914, allocations: 385.9 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3914, allocations: 0 / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3915, allocations: 4 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.3915, allocations: 27.98 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.3921, allocations: 359.6 kB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.3941, allocations: 1.737 MB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.3948, allocations: 337 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.3951, allocations: 193.5 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.3953, allocations: 85.11 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3953, allocations: 38.55 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.542e-06/0.3954, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.00709/0.4024, allocations: 1.91 MB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.4025, allocations: 81.11 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4027, allocations: 176.3 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4027, allocations: 37.7 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.4028, allocations: 148.4 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4029, allocations: 122.2 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.4031, allocations: 77.67 kB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4032, allocations: 330.8 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.4037, allocations: 252.7 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.4042, allocations: 341.5 kB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/0.4052, allocations: 0.6 MB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4052, allocations: 3.938 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001114/0.4063, allocations: 0.6387 MB / 1.034 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4063, allocations: 6.969 kB / 1.034 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4063, allocations: 4.047 kB / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4064, allocations: 7.984 kB / 1.034 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.4073, allocations: 143.8 kB / 1.035 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.4073, allocations: 4 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.4077, allocations: 60.11 kB / 1.035 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.4078, allocations: 19.98 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005453/0.4083, allocations: 354.4 kB / 1.035 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004793/0.4088, allocations: 329.8 kB / 1.035 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009061/0.4097, allocations: 0.5669 MB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.4097, allocations: 4 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001089/0.4108, allocations: 0.6141 MB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4108, allocations: 4 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4109, allocations: 4 kB / 1.037 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.4109, allocations: 4 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.4117, allocations: 152 kB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4117, allocations: 4 kB / 1.037 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.4121, allocations: 47.92 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.4122, allocations: 16 kB / 1.037 GB, free: 6.949 MB / 0.8106 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.0001747/0.4124, allocations: 201.4 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.4125, allocations: 31.7 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4137, allocations: 0.6687 MB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4138, allocations: 7.984 kB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4138, allocations: 0 / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4138, allocations: 4 kB / 1.038 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.416, allocations: 1.368 MB / 1.039 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.416, allocations: 0 / 1.039 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.4166, allocations: 115.8 kB / 1.039 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.4166, allocations: 4 kB / 1.039 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.4167, allocations: 12 kB / 1.039 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.4167, allocations: 12.12 kB / 1.039 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.4167, allocations: 8 kB / 1.039 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.4177, allocations: 0.7083 MB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.4179, allocations: 132.9 kB / 1.04 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.4179, allocations: 15.89 kB / 1.04 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.4182, allocations: 43.89 kB / 1.04 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.4183, allocations: 27.97 kB / 1.04 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.4184, allocations: 8 kB / 1.04 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001256/0.4185, allocations: 152.9 kB / 1.04 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.433e-06/0.4185, allocations: 0 / 1.04 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006296/0.4192, allocations: 147.9 kB / 1.04 GB, free: 3.129 MB / 0.8106 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.0002285/0.4194, allocations: 135.1 kB / 1.04 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4209, allocations: 0.8558 MB / 1.041 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4209, allocations: 4.188 kB / 1.041 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.4213, allocations: 255.7 kB / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.4219, allocations: 44.36 kB / 1.042 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4231, allocations: 0.7011 MB / 1.042 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4235, allocations: 0.7877 MB / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004408/0.4239, allocations: 166.8 kB / 1.043 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4241, allocations: 31.42 kB / 1.043 GB, free: 80 kB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.4241, allocations: 0 / 1.043 GB, free: 80 kB / 0.8106 GB Notification: Performance of Templates: time 0.01003/0.4341, allocations: 4.815 MB / 1.048 GB, free: 11.28 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches