Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Converter,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.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,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.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 115 kB / 16.38 MB, free: 6.012 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.001522/0.001522, allocations: 186.8 kB / 17.31 MB, free: 5.621 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 442.6 MB / 0.7166 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 56.19 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02251/0.371, allocations: 16.42 MB / 1.043 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3813, allocations: 5.732 MB / 1.048 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.3825, allocations: 39.94 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.3866, allocations: 1.532 MB / 1.05 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.3892, allocations: 0.8326 MB / 1.051 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.392, allocations: 1.063 MB / 1.052 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.3969, allocations: 3.894 MB / 1.056 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007001/0.404, allocations: 5.63 MB / 1.061 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.4069, allocations: 1.753 MB / 1.063 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.4106, allocations: 2.092 MB / 1.065 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000953/0.4116, allocations: 420 kB / 1.065 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.414, allocations: 1.069 MB / 1.066 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.4163, allocations: 1.649 MB / 1.068 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.4187, allocations: 1.607 MB / 1.069 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.4248, allocations: 6.05 MB / 1.075 GB, free: 64 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4248, allocations: 4 kB / 1.075 GB, free: 60 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4248, allocations: 0 / 1.075 GB, free: 60 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000151/0.425, allocations: 4 kB / 1.075 GB, free: 56 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.5743/0.9992, allocations: 2.761 MB / 1.078 GB, free: 52.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.9993, allocations: 10.59 kB / 1.078 GB, free: 52.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/1.003, allocations: 0.6582 MB / 1.079 GB, free: 52.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/1.007, allocations: 1.448 MB / 1.08 GB, free: 51.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/1.007, allocations: 211.6 kB / 1.08 GB, free: 51.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007998/1.008, allocations: 266.9 kB / 1.081 GB, free: 51.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/1.02, allocations: 4.709 MB / 1.085 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/1.02, allocations: 5.797 kB / 1.085 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/1.021, allocations: 119.3 kB / 1.085 GB, free: 49.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/1.021, allocations: 152.4 kB / 1.085 GB, free: 49.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008515/1.029, allocations: 4.089 MB / 1.089 GB, free: 48.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/1.056, allocations: 20.12 MB / 1.109 GB, free: 32.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/1.06, allocations: 1.901 MB / 1.111 GB, free: 31.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/1.061, allocations: 0.7566 MB / 1.112 GB, free: 31.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.061, allocations: 110.2 kB / 1.112 GB, free: 31.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.061, allocations: 44.11 kB / 1.112 GB, free: 31.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=77): time 4.549e-06/1.061, allocations: 0 / 1.112 GB, free: 31.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92): time 0.01925/1.081, allocations: 5.187 MB / 1.117 GB, free: 29.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.081, allocations: 144.1 kB / 1.117 GB, free: 29.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.082, allocations: 0.9682 MB / 1.118 GB, free: 28.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/1.083, allocations: 42.08 kB / 1.118 GB, free: 28.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008083/1.083, allocations: 1.185 MB / 1.119 GB, free: 27.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/1.084, allocations: 332.8 kB / 1.12 GB, free: 27.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006582/1.084, allocations: 355.5 kB / 1.12 GB, free: 27.46 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.084, allocations: 332.6 kB / 1.12 GB, free: 27.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/1.086, allocations: 0.8773 MB / 1.121 GB, free: 26.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/1.088, allocations: 1.505 MB / 1.123 GB, free: 25.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/1.091, allocations: 2.452 MB / 1.125 GB, free: 24.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/1.091, allocations: 9.469 kB / 1.125 GB, free: 24.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003981/1.095, allocations: 2.507 MB / 1.127 GB, free: 22.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.095, allocations: 18.11 kB / 1.127 GB, free: 22.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/1.095, allocations: 29.06 kB / 1.127 GB, free: 22.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.304e-05/1.095, allocations: 29.94 kB / 1.127 GB, free: 22.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/1.097, allocations: 0.5088 MB / 1.128 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.726e-05/1.097, allocations: 47.05 kB / 1.128 GB, free: 22.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.099, allocations: 164.1 kB / 1.128 GB, free: 22.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.099, allocations: 88.97 kB / 1.128 GB, free: 22.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003085/1.102, allocations: 1.898 MB / 1.13 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001546/1.104, allocations: 1.505 MB / 1.132 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002834/1.106, allocations: 2.425 MB / 1.134 GB, free: 18.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.945e-05/1.106, allocations: 6.094 kB / 1.134 GB, free: 18.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003883/1.11, allocations: 2.489 MB / 1.136 GB, free: 17.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.11, allocations: 17.64 kB / 1.136 GB, free: 17.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.11, allocations: 21.78 kB / 1.136 GB, free: 17.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/1.11, allocations: 30.56 kB / 1.136 GB, free: 17.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/1.113, allocations: 0.5146 MB / 1.137 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/1.113, allocations: 46.64 kB / 1.137 GB, free: 16.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.114, allocations: 146.6 kB / 1.137 GB, free: 16.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.114, allocations: 88.61 kB / 1.137 GB, free: 16.9 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004772/1.115, allocations: 289 kB / 1.137 GB, free: 16.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/1.115, allocations: 102.1 kB / 1.138 GB, free: 16.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/1.118, allocations: 1.831 MB / 1.139 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.118, allocations: 8.938 kB / 1.139 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.118, allocations: 1.125 kB / 1.139 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/1.118, allocations: 278.5 kB / 1.14 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.119, allocations: 15.88 kB / 1.14 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/1.119, allocations: 75.95 kB / 1.14 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.119, allocations: 54.33 kB / 1.14 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002392/1.122, allocations: 1.598 MB / 1.141 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001645/1.123, allocations: 1.601 MB / 1.143 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007143/1.124, allocations: 0.5631 MB / 1.143 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009961/1.125, allocations: 0.7291 MB / 1.144 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Backend: time 3.61e-07/1.125, allocations: 0 / 1.144 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004954/1.13, allocations: 2.9 MB / 1.147 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of SimCode: time 0.006563/1.137, allocations: 4.144 MB / 1.151 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of Templates: time 0.04411/1.181, allocations: 27.87 MB / 1.178 GB, free: 11.31 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches