Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 118.7 kB / 16.42 MB, free: 6.5 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.001411/0.001411, 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02169/1.073, allocations: 17.11 MB / 1.105 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01249/1.085, allocations: 6.112 MB / 1.111 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/1.087, allocations: 47.78 kB / 1.111 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004636/1.092, allocations: 1.561 MB / 1.113 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003841/1.096, allocations: 1.066 MB / 1.114 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/1.1, allocations: 1.052 MB / 1.115 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006959/1.107, allocations: 4.23 MB / 1.119 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/1.117, allocations: 5.655 MB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004842/1.122, allocations: 1.886 MB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/1.127, allocations: 2.244 MB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002132/1.129, allocations: 439.8 kB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/1.134, allocations: 1.124 MB / 1.13 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004277/1.138, allocations: 1.74 MB / 1.132 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005425/1.143, allocations: 1.72 MB / 1.134 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/1.156, allocations: 6.417 MB / 1.14 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.156, allocations: 1.406 kB / 1.14 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/1.156, allocations: 0 / 1.14 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002212/1.156, allocations: 0 / 1.14 GB, free: 9.992 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01309/1.169, allocations: 2.995 MB / 1.143 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.169, allocations: 10.44 kB / 1.143 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.182, allocations: 2.005 MB / 1.145 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006615/1.189, allocations: 1.631 MB / 1.146 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/1.189, allocations: 217.8 kB / 1.147 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002708/1.192, allocations: 285.9 kB / 1.147 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/1.213, allocations: 5.774 MB / 1.152 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/1.213, allocations: 9 kB / 1.152 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/1.215, allocations: 118.2 kB / 1.153 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004479/1.215, allocations: 208.5 kB / 1.153 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/1.232, allocations: 5.805 MB / 1.158 GB, free: 192 kB / 0.8887 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.03508/1.267, allocations: 22.68 MB / 1.181 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/1.273, allocations: 2.508 MB / 1.183 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004503/1.278, allocations: 1.646 MB / 1.185 GB, free: 9.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/1.278, allocations: 114 kB / 1.185 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.278, allocations: 55.5 kB / 1.185 GB, free: 9.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=116): time 3.917e-06/1.278, allocations: 0 / 1.185 GB, free: 9.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.0385/1.316, allocations: 11.62 MB / 1.196 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.317, allocations: 226.9 kB / 1.196 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.318, allocations: 1.043 MB / 1.197 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/1.319, allocations: 45.7 kB / 1.197 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/1.32, allocations: 1.243 MB / 1.199 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/1.32, allocations: 0.5084 MB / 1.199 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.321, allocations: 459.5 kB / 1.2 GB, free: 10 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.322, allocations: 334 kB / 1.2 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004666/1.326, allocations: 1.785 MB / 1.202 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005188/1.331, allocations: 2.471 MB / 1.204 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009535/1.341, allocations: 4.265 MB / 1.208 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/1.341, allocations: 8 kB / 1.208 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01291/1.354, allocations: 5.087 MB / 1.213 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/1.354, allocations: 19.94 kB / 1.213 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/1.354, allocations: 23.94 kB / 1.213 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/1.357, allocations: 0.8873 MB / 1.214 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/1.36, allocations: 0.7526 MB / 1.215 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.376, allocations: 13.87 MB / 1.228 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/1.38, allocations: 471 kB / 1.229 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006508/1.381, allocations: 115.9 kB / 1.229 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00737/1.388, allocations: 2.861 MB / 1.232 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005452/1.394, allocations: 2.459 MB / 1.234 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009853/1.403, allocations: 4.241 MB / 1.238 GB, free: 200 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.41e-05/1.404, allocations: 8 kB / 1.238 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01419/1.418, allocations: 5.036 MB / 1.243 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.418, allocations: 12 kB / 1.243 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.607e-05/1.418, allocations: 24 kB / 1.243 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/1.42, allocations: 0.8018 MB / 1.244 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/1.424, allocations: 0.7487 MB / 1.245 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/1.44, allocations: 13.71 MB / 1.258 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/1.443, allocations: 455.2 kB / 1.259 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/1.444, allocations: 112 kB / 1.259 GB, free: 10.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001025/1.445, allocations: 316.2 kB / 1.259 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/1.446, allocations: 130.6 kB / 1.259 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.458, allocations: 4.37 MB / 1.263 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/1.458, allocations: 7.969 kB / 1.263 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.458, allocations: 4 kB / 1.263 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.459, allocations: 467.4 kB / 1.264 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/1.46, allocations: 27.94 kB / 1.264 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.462, allocations: 383.4 kB / 1.264 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.463, allocations: 117.1 kB / 1.264 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01313/1.476, allocations: 4.876 MB / 1.269 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01371/1.49, allocations: 5.649 MB / 1.275 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004167/1.494, allocations: 1.598 MB / 1.276 GB, free: 8.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001552/1.495, allocations: 0.7449 MB / 1.277 GB, free: 7.617 MB / 1.014 GB Notification: Performance of Backend: time 5.81e-07/1.495, allocations: 0 / 1.277 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.515, allocations: 7.071 MB / 1.284 GB, free: 396 kB / 1.014 GB Notification: Performance of SimCode: time 0.01036/1.525, allocations: 5.094 MB / 1.289 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Templates: time 0.08775/1.613, allocations: 53.86 MB / 1.341 GB, free: 5.43 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches