Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,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.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001379, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001212/0.001212, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.545/1.545, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.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.769/2.769, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 60.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.007325/1.119, allocations: 5.362 MB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006997/1.126, allocations: 4.084 MB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006396/1.127, allocations: 19.88 kB / 1.177 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/1.13, allocations: 0.5857 MB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/1.133, allocations: 0.6883 MB / 1.178 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/1.135, allocations: 0.5261 MB / 1.178 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002287/1.137, allocations: 1.15 MB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009819/1.138, allocations: 441.4 kB / 1.18 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/1.139, allocations: 470.3 kB / 1.18 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/1.141, allocations: 0.5254 MB / 1.181 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/1.141, allocations: 68 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/1.143, allocations: 0.8303 MB / 1.182 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005755/1.144, allocations: 343.1 kB / 1.182 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009077/1.145, allocations: 421.8 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/1.147, allocations: 1.404 MB / 1.184 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.147, allocations: 4 kB / 1.184 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/1.147, allocations: 0 / 1.184 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.951e-05/1.147, allocations: 0 / 1.184 GB, free: 2.887 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003088/1.151, allocations: 1.161 MB / 1.185 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.151, allocations: 12.92 kB / 1.185 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.161, allocations: 1.712 MB / 1.187 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.163, allocations: 0.6468 MB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/1.163, allocations: 45.67 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/1.163, allocations: 52.36 kB / 1.187 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005663/1.169, allocations: 1.929 MB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/1.169, allocations: 7.938 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.169, allocations: 27.98 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003857/1.169, allocations: 149.4 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008449/1.178, allocations: 2.616 MB / 1.192 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/1.19, allocations: 6.653 MB / 1.198 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/1.194, allocations: 1.279 MB / 1.2 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/1.196, allocations: 0.9109 MB / 1.201 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002777/1.199, allocations: 1.487 MB / 1.202 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.199, allocations: 38.56 kB / 1.202 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=73): time 3.366e-06/1.199, allocations: 0 / 1.202 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.03176/1.231, allocations: 8.248 MB / 1.21 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/1.231, allocations: 94.11 kB / 1.21 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.232, allocations: 0.5731 MB / 1.211 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.233, allocations: 41.7 kB / 1.211 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/1.233, allocations: 419.1 kB / 1.211 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000576/1.234, allocations: 370.6 kB / 1.212 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006887/1.234, allocations: 258.6 kB / 1.212 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.235, allocations: 398.7 kB / 1.212 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003301/1.238, allocations: 1.118 MB / 1.213 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/1.241, allocations: 1.456 MB / 1.215 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006724/1.248, allocations: 2.6 MB / 1.217 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/1.248, allocations: 4 kB / 1.217 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01192/1.26, allocations: 3.87 MB / 1.221 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/1.26, allocations: 12 kB / 1.221 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/1.26, allocations: 8 kB / 1.221 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/1.266, allocations: 1.33 MB / 1.222 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.268, allocations: 459.2 kB / 1.223 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/1.286, allocations: 12.13 MB / 1.235 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.289, allocations: 312.1 kB / 1.235 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/1.289, allocations: 63.97 kB / 1.235 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003913/1.293, allocations: 1.326 MB / 1.236 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003665/1.297, allocations: 1.441 MB / 1.238 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006867/1.304, allocations: 2.581 MB / 1.24 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.495e-05/1.304, allocations: 4 kB / 1.24 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01121/1.315, allocations: 3.643 MB / 1.244 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/1.315, allocations: 10.66 kB / 1.244 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.315, allocations: 12.53 kB / 1.244 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00386/1.319, allocations: 1.053 MB / 1.245 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/1.321, allocations: 479.2 kB / 1.245 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.336, allocations: 11.1 MB / 1.256 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.339, allocations: 303.5 kB / 1.256 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/1.339, allocations: 67.97 kB / 1.256 GB, free: 5.922 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007347/1.34, allocations: 256 kB / 1.257 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.34, allocations: 90.91 kB / 1.257 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.352, allocations: 3.743 MB / 1.26 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/1.352, allocations: 3.984 kB / 1.26 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.352, allocations: 0 / 1.26 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/1.353, allocations: 331.9 kB / 1.261 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.353, allocations: 23.94 kB / 1.261 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.355, allocations: 303.5 kB / 1.261 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/1.356, allocations: 100.8 kB / 1.261 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01121/1.367, allocations: 3.707 MB / 1.265 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009644/1.377, allocations: 3.818 MB / 1.269 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003077/1.38, allocations: 1.143 MB / 1.27 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008175/1.381, allocations: 418.7 kB / 1.27 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of Backend: time 7.32e-07/1.381, allocations: 0 / 1.27 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01542/1.396, allocations: 5.188 MB / 1.275 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of SimCode: time 0.00419/1.4, allocations: 2.352 MB / 1.277 GB, free: 228 kB / 0.9981 GB Notification: Performance of Templates: time 0.06712/1.467, allocations: 40.86 MB / 1.317 GB, free: 7.453 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches