Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ThreePhasesBalanced.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001577/0.001577, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 68.11 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.00756/1.067, allocations: 5.199 MB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006432/1.073, allocations: 4.039 MB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/1.074, allocations: 11.94 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.076, allocations: 0.5679 MB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/1.078, allocations: 0.6807 MB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/1.079, allocations: 468 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001385/1.081, allocations: 1.013 MB / 1.233 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/1.081, allocations: 413.4 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/1.082, allocations: 406.5 kB / 1.233 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/1.083, allocations: 498.1 kB / 1.234 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/1.083, allocations: 60 kB / 1.234 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/1.084, allocations: 0.8108 MB / 1.235 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/1.085, allocations: 311.2 kB / 1.235 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/1.085, allocations: 378 kB / 1.235 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/1.087, allocations: 1.291 MB / 1.237 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.087, allocations: 4 kB / 1.237 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/1.087, allocations: 0 / 1.237 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.087, allocations: 0 / 1.237 GB, free: 2.203 MB / 0.9512 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.002084/1.089, allocations: 1.075 MB / 1.238 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.089, allocations: 8.625 kB / 1.238 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00959/1.099, allocations: 1.642 MB / 1.239 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/1.1, allocations: 0.563 MB / 1.24 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/1.1, allocations: 49.67 kB / 1.24 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.1, allocations: 64.36 kB / 1.24 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005129/1.105, allocations: 1.845 MB / 1.242 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.105, allocations: 3.938 kB / 1.242 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.106, allocations: 27.98 kB / 1.242 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/1.106, allocations: 105.5 kB / 1.242 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007947/1.114, allocations: 2.48 MB / 1.244 GB, free: 10.19 MB / 0.9669 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.01001/1.124, allocations: 6.357 MB / 1.25 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/1.128, allocations: 1.37 MB / 1.252 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/1.13, allocations: 0.9025 MB / 1.253 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003056/1.133, allocations: 2.158 MB / 1.255 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.133, allocations: 50.55 kB / 1.255 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=69): time 3.035e-06/1.133, allocations: 0 / 1.255 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93): time 0.02394/1.157, allocations: 6.615 MB / 1.261 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.158, allocations: 199.9 kB / 1.262 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/1.158, allocations: 0.5212 MB / 1.262 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.159, allocations: 41.7 kB / 1.262 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/1.159, allocations: 390.7 kB / 1.262 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.159, allocations: 319.4 kB / 1.263 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/1.16, allocations: 250.6 kB / 1.263 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002395/1.16, allocations: 382.8 kB / 1.263 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.163, allocations: 1.017 MB / 1.264 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/1.166, allocations: 1.29 MB / 1.266 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/1.172, allocations: 2.288 MB / 1.268 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.172, allocations: 4 kB / 1.268 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0101/1.182, allocations: 3.314 MB / 1.271 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/1.182, allocations: 8.438 kB / 1.271 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/1.182, allocations: 16 kB / 1.271 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/1.187, allocations: 1.033 MB / 1.272 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/1.189, allocations: 467.2 kB / 1.273 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.201, allocations: 9.681 MB / 1.282 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.204, allocations: 295.5 kB / 1.282 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/1.204, allocations: 59.97 kB / 1.282 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003351/1.207, allocations: 1.189 MB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003142/1.21, allocations: 1.287 MB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005836/1.216, allocations: 2.25 MB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.439e-05/1.216, allocations: 4 kB / 1.287 GB, free: 12.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.009271/1.225, allocations: 3.079 MB / 1.29 GB, free: 9.633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.226, allocations: 9.719 kB / 1.29 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.226, allocations: 8.438 kB / 1.29 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/1.228, allocations: 0.7518 MB / 1.291 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.231, allocations: 491.4 kB / 1.291 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008132/1.239, allocations: 7.207 MB / 1.298 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/1.241, allocations: 299.6 kB / 1.299 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.241, allocations: 63.97 kB / 1.299 GB, free: 396 kB / 1.014 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.0004545/1.242, allocations: 255.8 kB / 1.299 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.242, allocations: 67.16 kB / 1.299 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/1.252, allocations: 3.074 MB / 1.302 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/1.252, allocations: 7.984 kB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.252, allocations: 0 / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/1.252, allocations: 308 kB / 1.302 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.253, allocations: 16 kB / 1.302 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.255, allocations: 279.5 kB / 1.302 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.255, allocations: 83.8 kB / 1.303 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009441/1.264, allocations: 3.439 MB / 1.306 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008911/1.273, allocations: 3.638 MB / 1.309 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002789/1.276, allocations: 1.003 MB / 1.31 GB, free: 4.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005612/1.277, allocations: 378.8 kB / 1.311 GB, free: 3.77 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/1.277, allocations: 0 / 1.311 GB, free: 3.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.288, allocations: 4.228 MB / 1.315 GB, free: 15.44 MB / 1.045 GB Notification: Performance of SimCode: time 0.003071/1.291, allocations: 2.024 MB / 1.317 GB, free: 13.38 MB / 1.045 GB Notification: Performance of Templates: time 0.05265/1.343, allocations: 35.08 MB / 1.351 GB, free: 10.34 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches