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.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.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.001139/0.001139, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.799/2.799, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 19.98 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7001, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.00545/0.7056, allocations: 4.729 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00572/0.7113, allocations: 3.994 MB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.7116, allocations: 11.94 kB / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.7119, allocations: 91.23 kB / 1.032 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.7133, allocations: 0.6343 MB / 1.033 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.7143, allocations: 435.1 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.7161, allocations: 1.399 MB / 1.035 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7177, allocations: 0.6819 MB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.7182, allocations: 346.5 kB / 1.036 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.719, allocations: 482.2 kB / 1.036 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.719, allocations: 32 kB / 1.036 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.7206, allocations: 0.9824 MB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.7209, allocations: 275.2 kB / 1.037 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.7213, allocations: 371.8 kB / 1.038 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7225, allocations: 0.9721 MB / 1.039 GB, free: 356 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7225, allocations: 4 kB / 1.039 GB, free: 352 kB / 0.7794 GB Notification: Performance of FrontEnd: time 3.337e-06/0.7225, allocations: 4 kB / 1.039 GB, free: 348 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7225, allocations: 0 / 1.039 GB, free: 348 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.001802/0.7243, allocations: 0.9314 MB / 1.04 GB, free: 15.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7244, allocations: 15.97 kB / 1.04 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009611/0.734, allocations: 1.638 MB / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/0.735, allocations: 0.5544 MB / 1.042 GB, free: 13.11 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.735, allocations: 45.67 kB / 1.042 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.7352, allocations: 60.36 kB / 1.042 GB, free: 13 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.74, allocations: 1.848 MB / 1.044 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.74, allocations: 7.938 kB / 1.044 GB, free: 11.08 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.7402, allocations: 23.98 kB / 1.044 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.7404, allocations: 109.5 kB / 1.044 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007805/0.7482, allocations: 2.495 MB / 1.046 GB, free: 8.453 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.008669/0.7569, allocations: 6.361 MB / 1.052 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.7606, allocations: 1.375 MB / 1.054 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.7633, allocations: 0.9026 MB / 1.055 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/0.7659, allocations: 2.169 MB / 1.057 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.766, allocations: 46.5 kB / 1.057 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.766, allocations: 0 / 1.057 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02389/0.7899, allocations: 6.782 MB / 1.064 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.79, allocations: 195.9 kB / 1.064 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.7907, allocations: 0.5251 MB / 1.064 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7908, allocations: 37.7 kB / 1.064 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.7911, allocations: 386.7 kB / 1.065 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/0.7914, allocations: 323.4 kB / 1.065 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.7916, allocations: 101.7 kB / 1.065 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7917, allocations: 374.8 kB / 1.065 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/0.7947, allocations: 1.013 MB / 1.066 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.7979, allocations: 1.302 MB / 1.068 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/0.8039, allocations: 2.308 MB / 1.07 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.804, allocations: 8 kB / 1.07 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01036/0.8144, allocations: 3.364 MB / 1.073 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.8146, allocations: 343.9 kB / 1.074 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.8147, allocations: 11.94 kB / 1.074 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.8192, allocations: 1.096 MB / 1.075 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.8215, allocations: 471.2 kB / 1.075 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.8325, allocations: 8.972 MB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.8349, allocations: 303.5 kB / 1.084 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.835, allocations: 63.95 kB / 1.084 GB, free: 80 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.835, allocations: 4 kB / 1.084 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009101/0.8441, allocations: 3.055 MB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.8442, allocations: 8 kB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/0.8475, allocations: 0.7558 MB / 1.088 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.8498, allocations: 495.2 kB / 1.088 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/0.8587, allocations: 6.938 MB / 1.095 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.861, allocations: 303.5 kB / 1.095 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.8611, allocations: 55.97 kB / 1.095 GB, free: 4.051 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.0006144/0.8618, allocations: 365.3 kB / 1.096 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.862, allocations: 75.09 kB / 1.096 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009839/0.8719, allocations: 3.117 MB / 1.099 GB, free: 476 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8719, allocations: 8 kB / 1.099 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.8719, allocations: 8 kB / 1.099 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.872, allocations: 7.969 kB / 1.099 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.8841, allocations: 5.028 MB / 1.104 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.8842, allocations: 4 kB / 1.104 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.8859, allocations: 359.4 kB / 1.104 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004036/0.8899, allocations: 1.01 MB / 1.105 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.8901, allocations: 35.97 kB / 1.105 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.9009, allocations: 8.668 MB / 1.114 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.901, allocations: 11.94 kB / 1.114 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/0.9102, allocations: 3.258 MB / 1.117 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/0.9109, allocations: 315.9 kB / 1.117 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.911, allocations: 23.98 kB / 1.117 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.9129, allocations: 295.5 kB / 1.118 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.9131, allocations: 83.77 kB / 1.118 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.9132, allocations: 39.97 kB / 1.118 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000499/0.9137, allocations: 382.8 kB / 1.118 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9137, allocations: 0 / 1.118 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001869/0.9156, allocations: 0.5078 MB / 1.118 GB, free: 11.65 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.0002526/0.9159, allocations: 136.4 kB / 1.119 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01241/0.9283, allocations: 4.85 MB / 1.123 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.9283, allocations: 4 kB / 1.123 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004112/0.9325, allocations: 1.741 MB / 1.125 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.934, allocations: 129 kB / 1.125 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.9443, allocations: 3.652 MB / 1.129 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.9451, allocations: 1.036 MB / 1.13 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.9456, allocations: 103.3 kB / 1.13 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/0.9457, allocations: 0 / 1.13 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.03163/0.9773, allocations: 25.85 MB / 1.155 GB, free: 5.852 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/jenkins1/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