Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001182/0.001182, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.386/1.386, allocations: 222.9 MB / 241.1 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.558/2.558, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8282, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.02276/0.851, allocations: 17.47 MB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.8611, allocations: 6.18 MB / 1.232 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.8627, allocations: 51.88 kB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.8669, allocations: 1.574 MB / 1.233 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.8698, allocations: 1.081 MB / 1.234 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.8727, allocations: 1.122 MB / 1.235 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004748/0.8775, allocations: 4.429 MB / 1.24 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006747/0.8842, allocations: 5.691 MB / 1.245 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.887, allocations: 1.956 MB / 1.247 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.8908, allocations: 2.31 MB / 1.249 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.8919, allocations: 448 kB / 1.25 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.8947, allocations: 1.147 MB / 1.251 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002344/0.8971, allocations: 1.79 MB / 1.253 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.9002, allocations: 1.775 MB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007363/0.9075, allocations: 6.593 MB / 1.261 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.9076, allocations: 4 kB / 1.261 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9076, allocations: 0 / 1.261 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002008/0.9078, allocations: 0 / 1.261 GB, free: 7.84 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.00728/0.9151, allocations: 3.083 MB / 1.264 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9151, allocations: 8.031 kB / 1.264 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.9267, allocations: 2.17 MB / 1.266 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.9304, allocations: 1.735 MB / 1.268 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.9307, allocations: 234.2 kB / 1.268 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.9317, allocations: 288.3 kB / 1.268 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.9455, allocations: 5.899 MB / 1.274 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.109e-05/0.9457, allocations: 11.92 kB / 1.274 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006965/0.9464, allocations: 120 kB / 1.274 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004704/0.9469, allocations: 254 kB / 1.274 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.9614, allocations: 6.105 MB / 1.28 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.9924, allocations: 22.33 MB / 1.302 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005515/0.9979, allocations: 2.546 MB / 1.305 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.002, allocations: 1.711 MB / 1.306 GB, free: 7.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/1.002, allocations: 110.1 kB / 1.306 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.003, allocations: 47.55 kB / 1.306 GB, free: 6.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=122): time 4.409e-06/1.003, allocations: 4 kB / 1.306 GB, free: 6.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=173): time 0.05212/1.055, allocations: 14.64 MB / 1.321 GB, free: 8.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.055, allocations: 69.41 kB / 1.321 GB, free: 8.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.057, allocations: 1.155 MB / 1.322 GB, free: 6.98 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.057, allocations: 53.7 kB / 1.322 GB, free: 6.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/1.058, allocations: 1.27 MB / 1.323 GB, free: 5.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006156/1.058, allocations: 0.6008 MB / 1.324 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009468/1.059, allocations: 492.2 kB / 1.324 GB, free: 4.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.06, allocations: 341.9 kB / 1.325 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/1.064, allocations: 2.033 MB / 1.326 GB, free: 2.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.07, allocations: 2.749 MB / 1.329 GB, free: 15.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009929/1.079, allocations: 4.839 MB / 1.334 GB, free: 9.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.08, allocations: 4 kB / 1.334 GB, free: 9.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01519/1.095, allocations: 6.246 MB / 1.34 GB, free: 3.648 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/1.095, allocations: 19.94 kB / 1.34 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/1.095, allocations: 20 kB / 1.34 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005167/1.1, allocations: 1.535 MB / 1.342 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/1.103, allocations: 0.7604 MB / 1.342 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/1.13, allocations: 18.9 MB / 1.361 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.133, allocations: 487 kB / 1.361 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/1.134, allocations: 120 kB / 1.361 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007296/1.141, allocations: 3.139 MB / 1.364 GB, free: 9.801 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005674/1.147, allocations: 2.734 MB / 1.367 GB, free: 6.742 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01079/1.158, allocations: 4.804 MB / 1.372 GB, free: 1.621 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.639e-05/1.158, allocations: 8 kB / 1.372 GB, free: 1.613 MB / 1.092 GB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.01574/1.173, allocations: 6.187 MB / 1.378 GB, free: 11.39 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.174, allocations: 16 kB / 1.378 GB, free: 11.38 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.174, allocations: 24.28 kB / 1.378 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/1.178, allocations: 1.445 MB / 1.379 GB, free: 9.891 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/1.182, allocations: 0.7642 MB / 1.38 GB, free: 9.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/1.209, allocations: 18.72 MB / 1.398 GB, free: 5.559 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/1.212, allocations: 471.2 kB / 1.399 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/1.213, allocations: 120 kB / 1.399 GB, free: 4.98 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * 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 {(3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001099/1.214, allocations: 327.7 kB / 1.399 GB, free: 4.652 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/1.215, allocations: 146.2 kB / 1.399 GB, free: 4.508 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.23, allocations: 5.798 MB / 1.405 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/1.23, allocations: 7.969 kB / 1.405 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.23, allocations: 7.922 kB / 1.405 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.231, allocations: 0.5304 MB / 1.405 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.231, allocations: 28 kB / 1.406 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/1.234, allocations: 415.3 kB / 1.406 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/1.234, allocations: 157.7 kB / 1.406 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01548/1.25, allocations: 5.674 MB / 1.412 GB, free: 7.797 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01407/1.264, allocations: 6.226 MB / 1.418 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004391/1.268, allocations: 1.92 MB / 1.42 GB, free: 15.63 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001428/1.27, allocations: 0.8129 MB / 1.42 GB, free: 14.81 MB / 1.154 GB Notification: Performance of Backend: time 4.31e-07/1.27, allocations: 4 kB / 1.42 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01974/1.29, allocations: 8.291 MB / 1.428 GB, free: 6.359 MB / 1.154 GB Notification: Performance of SimCode: time 0.01017/1.3, allocations: 5.662 MB / 1.434 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of Templates: time 0.1019/1.402, allocations: 67.11 MB / 1.5 GB, free: 13.73 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches