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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.01035/0.01035, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001723/0.001723, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.654/1.654, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.008/3.008, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4089, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00487/0.4138, allocations: 2.748 MB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00412/0.418, allocations: 2.084 MB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.4182, allocations: 0 / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.4193, allocations: 231.1 kB / 1.172 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.4199, allocations: 223 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.4208, allocations: 283.2 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.4212, allocations: 311.1 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.4217, allocations: 154 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.4219, allocations: 131.5 kB / 1.173 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.4223, allocations: 155.5 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.4223, allocations: 16 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.4231, allocations: 423.2 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4232, allocations: 91.77 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.4234, allocations: 111.6 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.4242, allocations: 498.1 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.4242, allocations: 0 / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4242, allocations: 0 / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.4242, allocations: 3.938 kB / 1.174 GB, free: 15.4 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.001206/0.4254, allocations: 0.5724 MB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.391e-05/0.4255, allocations: 12.03 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4266, allocations: 128.6 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.427, allocations: 264.5 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.427, allocations: 12.81 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.4271, allocations: 24.12 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.4278, allocations: 393.9 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4279, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.4279, allocations: 11.98 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.428, allocations: 27.97 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.4287, allocations: 371.4 kB / 1.176 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.4311, allocations: 1.745 MB / 1.177 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.432, allocations: 355 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.4323, allocations: 193.6 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.4325, allocations: 93.09 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.4326, allocations: 34.56 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.4326, allocations: 0 / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.009337/0.4419, allocations: 2.051 MB / 1.18 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.4421, allocations: 85.11 kB / 1.18 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.4423, allocations: 186.8 kB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.4424, allocations: 33.7 kB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4425, allocations: 148.7 kB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.4427, allocations: 130.9 kB / 1.18 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.4429, allocations: 73.69 kB / 1.181 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4431, allocations: 338.8 kB / 1.181 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.4437, allocations: 272.6 kB / 1.181 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.4443, allocations: 345.4 kB / 1.181 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4456, allocations: 0.619 MB / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4456, allocations: 3.938 kB / 1.182 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001477/0.4471, allocations: 0.6621 MB / 1.183 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4471, allocations: 7.984 kB / 1.183 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4471, allocations: 4 kB / 1.183 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.4472, allocations: 4 kB / 1.183 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009772/0.4481, allocations: 156.1 kB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.4482, allocations: 4 kB / 1.183 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.4486, allocations: 51.92 kB / 1.183 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.4487, allocations: 19.98 kB / 1.183 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007354/0.4494, allocations: 371.9 kB / 1.183 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00061/0.45, allocations: 341.8 kB / 1.184 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.4512, allocations: 0.5942 MB / 1.184 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.4512, allocations: 0 / 1.184 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001355/0.4526, allocations: 0.6337 MB / 1.185 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4526, allocations: 11.98 kB / 1.185 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4526, allocations: 0 / 1.185 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.4526, allocations: 4 kB / 1.185 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.4535, allocations: 151.9 kB / 1.185 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4535, allocations: 11.98 kB / 1.185 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.4539, allocations: 55.92 kB / 1.185 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.454, allocations: 12 kB / 1.185 GB, free: 3.355 MB / 0.9356 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.0002241/0.4542, allocations: 200.1 kB / 1.185 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.4543, allocations: 23.86 kB / 1.185 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.4558, allocations: 0.696 MB / 1.186 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4558, allocations: 4 kB / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4558, allocations: 0 / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.4558, allocations: 3.938 kB / 1.186 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.4584, allocations: 1.365 MB / 1.187 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4584, allocations: 0 / 1.187 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.459, allocations: 123.8 kB / 1.187 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.459, allocations: 4 kB / 1.187 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.4591, allocations: 11.94 kB / 1.187 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.4591, allocations: 7.938 kB / 1.187 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4591, allocations: 0 / 1.187 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.4603, allocations: 0.719 MB / 1.188 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.4605, allocations: 137 kB / 1.188 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.4606, allocations: 15.98 kB / 1.188 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.461, allocations: 43.88 kB / 1.188 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.4611, allocations: 23.97 kB / 1.188 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.4612, allocations: 16 kB / 1.188 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002087/0.4614, allocations: 156.3 kB / 1.189 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4614, allocations: 0 / 1.189 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007221/0.4621, allocations: 143.9 kB / 1.189 GB, free: 15.51 MB / 0.9512 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.0002646/0.4624, allocations: 143 kB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.4643, allocations: 0.8827 MB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4643, allocations: 0 / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.4648, allocations: 255.7 kB / 1.19 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.4654, allocations: 49.69 kB / 1.19 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4668, allocations: 0.7044 MB / 1.191 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.4672, allocations: 0.7916 MB / 1.191 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005502/0.4678, allocations: 182.8 kB / 1.192 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.468, allocations: 27.44 kB / 1.192 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of SimCode: time 1.142e-06/0.468, allocations: 0 / 1.192 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.01002/0.478, allocations: 5.273 MB / 1.197 GB, free: 7.148 MB / 0.9512 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 -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/jenkins/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