Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,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.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008578/0.008578, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.614/1.614, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 2.878/2.878, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.01, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.00607/1.016, allocations: 4.732 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006272/1.022, allocations: 4.002 MB / 1.032 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/1.023, allocations: 15.88 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/1.023, allocations: 87.31 kB / 1.032 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/1.025, allocations: 0.6265 MB / 1.032 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/1.026, allocations: 431.1 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001548/1.028, allocations: 1.415 MB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/1.029, allocations: 0.6808 MB / 1.035 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/1.03, allocations: 334.6 kB / 1.035 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/1.03, allocations: 494.1 kB / 1.036 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/1.031, allocations: 28 kB / 1.036 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/1.032, allocations: 0.9824 MB / 1.037 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/1.033, allocations: 275.2 kB / 1.037 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/1.033, allocations: 371.8 kB / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/1.035, allocations: 1.306 MB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.035, allocations: 0 / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of FrontEnd: time 3.466e-06/1.035, allocations: 4 kB / 1.038 GB, free: 40 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.859e-06/1.035, allocations: 0 / 1.038 GB, free: 40 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001848/1.037, allocations: 0.9392 MB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.037, allocations: 8.031 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/1.046, allocations: 1.634 MB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.048, allocations: 0.5544 MB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/1.048, allocations: 45.67 kB / 1.042 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.048, allocations: 60.36 kB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/1.053, allocations: 1.848 MB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.053, allocations: 11.89 kB / 1.043 GB, free: 10.78 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.053, allocations: 23.98 kB / 1.043 GB, free: 10.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002271/1.053, allocations: 109.4 kB / 1.044 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007996/1.061, allocations: 2.499 MB / 1.046 GB, free: 8.148 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009556/1.071, allocations: 6.365 MB / 1.052 GB, free: 1.383 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/1.075, allocations: 1.375 MB / 1.054 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/1.077, allocations: 0.8987 MB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/1.08, allocations: 2.166 MB / 1.056 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.08, allocations: 42.56 kB / 1.057 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.737e-06/1.08, allocations: 0 / 1.057 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02497/1.105, allocations: 6.779 MB / 1.063 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.105, allocations: 203.9 kB / 1.063 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/1.106, allocations: 0.5212 MB / 1.064 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.106, allocations: 37.7 kB / 1.064 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/1.107, allocations: 386.7 kB / 1.064 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/1.107, allocations: 327.4 kB / 1.065 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/1.107, allocations: 97.67 kB / 1.065 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.107, allocations: 378.8 kB / 1.065 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/1.111, allocations: 1.009 MB / 1.066 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/1.114, allocations: 1.302 MB / 1.067 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006613/1.121, allocations: 2.312 MB / 1.07 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/1.121, allocations: 7.984 kB / 1.07 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01108/1.132, allocations: 3.364 MB / 1.073 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/1.132, allocations: 347.8 kB / 1.073 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.132, allocations: 8 kB / 1.073 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004737/1.137, allocations: 1.096 MB / 1.074 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.139, allocations: 467.2 kB / 1.075 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.152, allocations: 8.959 MB / 1.083 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.155, allocations: 307.4 kB / 1.084 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/1.155, allocations: 68.02 kB / 1.084 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.155, allocations: 4 kB / 1.084 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009912/1.165, allocations: 3.043 MB / 1.087 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/1.165, allocations: 8.078 kB / 1.087 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/1.168, allocations: 0.7636 MB / 1.088 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.171, allocations: 491.2 kB / 1.088 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009968/1.181, allocations: 6.938 MB / 1.095 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.183, allocations: 303.5 kB / 1.095 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.184, allocations: 59.95 kB / 1.095 GB, free: 3.762 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007224/1.184, allocations: 369.3 kB / 1.095 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.185, allocations: 75.16 kB / 1.096 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.195, allocations: 3.125 MB / 1.099 GB, free: 168 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.195, allocations: 8 kB / 1.099 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/1.195, allocations: 8 kB / 1.099 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.195, allocations: 3.984 kB / 1.099 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.208, allocations: 5.036 MB / 1.104 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.209, allocations: 4 kB / 1.104 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.21, allocations: 359.9 kB / 1.104 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004259/1.215, allocations: 0.9984 MB / 1.105 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.215, allocations: 35.97 kB / 1.105 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.226, allocations: 8.668 MB / 1.113 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.226, allocations: 8 kB / 1.113 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009966/1.236, allocations: 3.266 MB / 1.117 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/1.237, allocations: 316 kB / 1.117 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.237, allocations: 16 kB / 1.117 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.239, allocations: 295.5 kB / 1.117 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.24, allocations: 87.75 kB / 1.117 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.24, allocations: 47.97 kB / 1.117 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006344/1.241, allocations: 370.8 kB / 1.118 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.241, allocations: 3.938 kB / 1.118 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002366/1.243, allocations: 0.5117 MB / 1.118 GB, free: 11.35 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/1.243, allocations: 131 kB / 1.118 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.257, allocations: 4.842 MB / 1.123 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.257, allocations: 5.062 kB / 1.123 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004885/1.262, allocations: 1.744 MB / 1.125 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.265, allocations: 125.1 kB / 1.125 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.278, allocations: 3.587 MB / 1.128 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.279, allocations: 1.04 MB / 1.129 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002583/1.282, allocations: 0.5024 MB / 1.13 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/1.282, allocations: 79.38 kB / 1.13 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/1.282, allocations: 0 / 1.13 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of Templates: time 0.03775/1.32, allocations: 20.54 MB / 1.15 GB, free: 10.53 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches