Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00159/0.00159, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.0016/0.0016, allocations: 189.2 kB / 16.91 MB, free: 6.184 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 / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 73.36 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3157, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005502/0.3212, allocations: 2.783 MB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3247, allocations: 2.084 MB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3248, allocations: 4 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008451/0.3257, allocations: 210.3 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.3262, allocations: 203.3 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.3269, allocations: 247.5 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.3272, allocations: 315 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.3276, allocations: 179.9 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3278, allocations: 123.6 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.328, allocations: 159.5 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.3281, allocations: 20 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.3287, allocations: 419.2 kB / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3288, allocations: 95.77 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3289, allocations: 115.4 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.3293, allocations: 367.5 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3294, allocations: 4 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3294, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3294, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8419 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.0009295/0.3303, allocations: 0.5537 MB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3303, allocations: 8.031 kB / 1.072 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.3313, allocations: 136.5 kB / 1.072 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3316, allocations: 256.4 kB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3316, allocations: 16.81 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.3317, allocations: 28.02 kB / 1.072 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.3324, allocations: 393.9 kB / 1.073 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3324, allocations: 4 kB / 1.073 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3325, allocations: 4 kB / 1.073 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.3325, allocations: 31.92 kB / 1.073 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.3332, allocations: 375.6 kB / 1.073 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3353, allocations: 1.741 MB / 1.075 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.336, allocations: 360.9 kB / 1.075 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.3364, allocations: 193.6 kB / 1.075 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.3366, allocations: 85.11 kB / 1.075 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3366, allocations: 34.56 kB / 1.075 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.3366, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.008848/0.3455, allocations: 2.047 MB / 1.077 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3455, allocations: 81.11 kB / 1.077 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3457, allocations: 182.9 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3458, allocations: 37.7 kB / 1.078 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.3459, allocations: 144.4 kB / 1.078 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.346, allocations: 130.1 kB / 1.078 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3462, allocations: 73.69 kB / 1.078 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3463, allocations: 334.8 kB / 1.078 GB, free: 240 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4542/0.8005, allocations: 262.1 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.8012, allocations: 352.8 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.8024, allocations: 0.6178 MB / 1.079 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8024, allocations: 4.719 kB / 1.079 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001378/0.8038, allocations: 0.6625 MB / 1.08 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8039, allocations: 7 kB / 1.08 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8039, allocations: 1.938 kB / 1.08 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.8039, allocations: 5.469 kB / 1.08 GB, free: 22.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.8049, allocations: 151.9 kB / 1.08 GB, free: 22.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.8049, allocations: 12.64 kB / 1.08 GB, free: 22.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.8054, allocations: 53.31 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.8055, allocations: 18.78 kB / 1.08 GB, free: 22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005949/0.8061, allocations: 371.3 kB / 1.081 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005686/0.8067, allocations: 332.4 kB / 1.081 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.8077, allocations: 0.5973 MB / 1.082 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.8077, allocations: 0.9062 kB / 1.082 GB, free: 21.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001226/0.8089, allocations: 0.638 MB / 1.082 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8089, allocations: 8.562 kB / 1.082 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8089, allocations: 2.25 kB / 1.082 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.809, allocations: 5.359 kB / 1.082 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.8098, allocations: 156.2 kB / 1.082 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8099, allocations: 5.25 kB / 1.082 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.8103, allocations: 50.41 kB / 1.082 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.8104, allocations: 18.94 kB / 1.082 GB, free: 21.11 MB / 0.8419 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.0001446/0.8105, allocations: 210.6 kB / 1.083 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.8106, allocations: 21.95 kB / 1.083 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.812, allocations: 0.6726 MB / 1.083 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.812, allocations: 4.219 kB / 1.083 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.812, allocations: 4 kB / 1.083 GB, free: 20.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.812, allocations: 4.812 kB / 1.083 GB, free: 20.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.8141, allocations: 1.367 MB / 1.085 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8141, allocations: 1.781 kB / 1.085 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.8147, allocations: 126 kB / 1.085 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.8147, allocations: 7 kB / 1.085 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.8147, allocations: 8.953 kB / 1.085 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.8147, allocations: 4.312 kB / 1.085 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8147, allocations: 2.5 kB / 1.085 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.8156, allocations: 0.7189 MB / 1.086 GB, free: 19.37 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.8158, allocations: 143.5 kB / 1.086 GB, free: 19.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.8158, allocations: 13.61 kB / 1.086 GB, free: 19.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.8162, allocations: 39.19 kB / 1.086 GB, free: 19.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8163, allocations: 29.53 kB / 1.086 GB, free: 19.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.8163, allocations: 16.98 kB / 1.086 GB, free: 19.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001649/0.8165, allocations: 155.4 kB / 1.086 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.8165, allocations: 0 / 1.086 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006621/0.8172, allocations: 155.4 kB / 1.086 GB, free: 19.11 MB / 0.8419 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.0001879/0.8174, allocations: 139 kB / 1.086 GB, free: 19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.8192, allocations: 0.9157 MB / 1.087 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8192, allocations: 1.312 kB / 1.087 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.8196, allocations: 255.9 kB / 1.087 GB, free: 18.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.8202, allocations: 41.83 kB / 1.087 GB, free: 18.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.8213, allocations: 0.848 MB / 1.088 GB, free: 18.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.8216, allocations: 0.7866 MB / 1.089 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.8218, allocations: 32.5 kB / 1.089 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.8218, allocations: 1.219 kB / 1.089 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.009942/0.8317, allocations: 4.945 MB / 1.094 GB, free: 17.01 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches