Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001572/0.001572, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001594/0.001594, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.08 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.53/2.53, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002698, allocations: 67.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9358, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02165/0.9575, allocations: 16.42 MB / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.9679, allocations: 5.728 MB / 1.189 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.9693, allocations: 47.88 kB / 1.189 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.9735, allocations: 1.528 MB / 1.19 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.9758, allocations: 0.8442 MB / 1.191 GB, free: 11.17 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.979, allocations: 1.05 MB / 1.192 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004461/0.9835, allocations: 3.925 MB / 1.196 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008379/0.9919, allocations: 5.617 MB / 1.202 GB, free: 492 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.9951, allocations: 1.757 MB / 1.203 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/0.9991, allocations: 2.092 MB / 1.205 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/1, allocations: 420 kB / 1.206 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/1.003, allocations: 1.069 MB / 1.207 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002657/1.006, allocations: 1.653 MB / 1.208 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003503/1.01, allocations: 1.607 MB / 1.21 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007936/1.017, allocations: 6.065 MB / 1.216 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.018, allocations: 0 / 1.216 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/1.018, allocations: 0 / 1.216 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001991/1.018, allocations: 3.938 kB / 1.216 GB, free: 1.785 MB / 0.9356 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.008789/1.027, allocations: 2.822 MB / 1.219 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.027, allocations: 16.91 kB / 1.219 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/1.031, allocations: 0.6744 MB / 1.219 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/1.034, allocations: 1.443 MB / 1.221 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.034, allocations: 210 kB / 1.221 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009388/1.035, allocations: 272.4 kB / 1.221 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009944/1.045, allocations: 4.723 MB / 1.226 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/1.045, allocations: 0 / 1.226 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006476/1.045, allocations: 116 kB / 1.226 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/1.046, allocations: 148.6 kB / 1.226 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/1.054, allocations: 4.085 MB / 1.23 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/1.079, allocations: 20.15 MB / 1.25 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/1.083, allocations: 1.895 MB / 1.252 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.084, allocations: 0.7743 MB / 1.252 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.084, allocations: 101.7 kB / 1.253 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.084, allocations: 43.16 kB / 1.253 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=77): time 3.156e-06/1.084, allocations: 0 / 1.253 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.01952/1.104, allocations: 5.282 MB / 1.258 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.104, allocations: 145.4 kB / 1.258 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.105, allocations: 0.9686 MB / 1.259 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.105, allocations: 41.7 kB / 1.259 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/1.106, allocations: 1.235 MB / 1.26 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.107, allocations: 353.2 kB / 1.26 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/1.107, allocations: 359.3 kB / 1.261 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.107, allocations: 326 kB / 1.261 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.109, allocations: 0.8792 MB / 1.262 GB, free: 324 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.11, allocations: 1.518 MB / 1.263 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/1.113, allocations: 2.453 MB / 1.266 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/1.113, allocations: 11.94 kB / 1.266 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003904/1.117, allocations: 2.509 MB / 1.268 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.117, allocations: 16 kB / 1.268 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.357e-05/1.117, allocations: 23.98 kB / 1.268 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.996e-05/1.118, allocations: 32 kB / 1.268 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/1.12, allocations: 0.5147 MB / 1.269 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.656e-05/1.12, allocations: 43.86 kB / 1.269 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.121, allocations: 159.7 kB / 1.269 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.121, allocations: 83.98 kB / 1.269 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002635/1.124, allocations: 1.903 MB / 1.271 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001628/1.126, allocations: 1.506 MB / 1.272 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002843/1.129, allocations: 2.422 MB / 1.275 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-05/1.129, allocations: 8 kB / 1.275 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003787/1.132, allocations: 2.496 MB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.132, allocations: 16 kB / 1.277 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/1.133, allocations: 20 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/1.133, allocations: 32 kB / 1.277 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.135, allocations: 0.5186 MB / 1.278 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/1.135, allocations: 40.2 kB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.136, allocations: 147.8 kB / 1.278 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.136, allocations: 87.98 kB / 1.278 GB, free: 14.57 MB / 1.014 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.0004177/1.137, allocations: 287.6 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/1.137, allocations: 99.39 kB / 1.278 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/1.14, allocations: 1.829 MB / 1.28 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.14, allocations: 3.984 kB / 1.28 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.14, allocations: 4 kB / 1.28 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/1.14, allocations: 296.3 kB / 1.28 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.141, allocations: 16 kB / 1.281 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/1.141, allocations: 71.89 kB / 1.281 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.142, allocations: 56.86 kB / 1.281 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002516/1.144, allocations: 1.596 MB / 1.282 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001902/1.146, allocations: 1.606 MB / 1.284 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000694/1.147, allocations: 0.5582 MB / 1.284 GB, free: 8.066 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001138/1.148, allocations: 0.7254 MB / 1.285 GB, free: 7.344 MB / 1.014 GB Notification: Performance of Backend: time 4.41e-07/1.148, allocations: 7.938 kB / 1.285 GB, free: 7.336 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005658/1.154, allocations: 2.904 MB / 1.288 GB, free: 4.43 MB / 1.014 GB Notification: Performance of SimCode: time 0.008123/1.162, allocations: 4.214 MB / 1.292 GB, free: 164 kB / 1.014 GB Notification: Performance of Templates: time 0.04577/1.207, allocations: 28.5 MB / 1.32 GB, free: 3.781 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches