Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007961/0.007961, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001783/0.001783, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002197, allocations: 62.69 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2817, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03662/0.3183, allocations: 30.77 MB / 1.118 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.3393, allocations: 13.59 MB / 1.131 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.3424, allocations: 143.2 kB / 1.131 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.008283/0.3508, allocations: 3.199 MB / 1.134 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007886/0.3587, allocations: 2.665 MB / 1.137 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005557/0.3642, allocations: 2.007 MB / 1.139 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009999/0.3742, allocations: 7.624 MB / 1.146 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/0.3865, allocations: 8.24 MB / 1.154 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006491/0.393, allocations: 3.47 MB / 1.158 GB, free: 9.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005612/0.3986, allocations: 3.379 MB / 1.161 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002156/0.4008, allocations: 0.5977 MB / 1.161 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.4048, allocations: 1.494 MB / 1.163 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.4079, allocations: 2.362 MB / 1.165 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005261/0.4132, allocations: 2.882 MB / 1.168 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.4246, allocations: 9.461 MB / 1.177 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.4247, allocations: 7.938 kB / 1.177 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4247, allocations: 0 / 1.177 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002937/0.425, allocations: 0 / 1.177 GB, free: 5.719 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01255/0.4375, allocations: 5.14 MB / 1.182 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4376, allocations: 12.03 kB / 1.182 GB, free: 500 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001512/0.4391, allocations: 0.6164 MB / 1.183 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.4449, allocations: 1.006 MB / 1.184 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006277/0.4512, allocations: 3.067 MB / 1.187 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.4515, allocations: 308.9 kB / 1.187 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007898/0.4523, allocations: 427.8 kB / 1.188 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.4645, allocations: 6.799 MB / 1.194 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.4646, allocations: 19.84 kB / 1.194 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004744/0.4651, allocations: 180 kB / 1.194 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008577/0.466, allocations: 372 kB / 1.195 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009425/0.4754, allocations: 5.118 MB / 1.2 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03907/0.5145, allocations: 30.5 MB / 1.229 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.5169, allocations: 1.398 MB / 1.231 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5187, allocations: 1.328 MB / 1.232 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/0.5188, allocations: 13.31 kB / 1.232 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.5189, allocations: 51.88 kB / 1.232 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.537e-06/0.5189, allocations: 0 / 1.232 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.08924/0.6082, allocations: 23.09 MB / 1.255 GB, free: 2.898 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.6083, allocations: 69.41 kB / 1.255 GB, free: 2.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.6116, allocations: 2.058 MB / 1.257 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.612, allocations: 61.7 kB / 1.257 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.5282/1.14, allocations: 2.01 MB / 1.259 GB, free: 155.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00085/1.141, allocations: 0.676 MB / 1.26 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000861/1.142, allocations: 404.8 kB / 1.26 GB, free: 154.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/1.142, allocations: 307.4 kB / 1.26 GB, free: 154.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/1.144, allocations: 1.432 MB / 1.262 GB, free: 154.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/1.147, allocations: 2.016 MB / 1.264 GB, free: 153.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/1.152, allocations: 3.692 MB / 1.267 GB, free: 151.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/1.152, allocations: 5.031 kB / 1.267 GB, free: 151.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01287/1.165, allocations: 5.659 MB / 1.273 GB, free: 148.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/1.165, allocations: 14.55 kB / 1.273 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/1.165, allocations: 17.88 kB / 1.273 GB, free: 148.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007059/1.172, allocations: 2.086 MB / 1.275 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.174, allocations: 379.9 kB / 1.275 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03308/1.207, allocations: 38.42 MB / 1.313 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/1.209, allocations: 126.8 kB / 1.313 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.209, allocations: 92.03 kB / 1.313 GB, free: 116.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00225/1.212, allocations: 1.513 MB / 1.314 GB, free: 116.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/1.212, allocations: 279.7 kB / 1.315 GB, free: 116 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009219/1.221, allocations: 5.22 MB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.221, allocations: 19.78 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/1.221, allocations: 14.19 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.221, allocations: 11.34 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.237, allocations: 9.679 MB / 1.329 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.237, allocations: 12.09 kB / 1.329 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/1.237, allocations: 209.8 kB / 1.329 GB, free: 109.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00494/1.242, allocations: 1.843 MB / 1.331 GB, free: 108.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/1.242, allocations: 39.5 kB / 1.331 GB, free: 108.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0284/1.271, allocations: 37.45 MB / 1.368 GB, free: 73.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.271, allocations: 12.84 kB / 1.368 GB, free: 73.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007699/1.279, allocations: 4.92 MB / 1.373 GB, free: 67.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.28, allocations: 0.6108 MB / 1.373 GB, free: 67.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/1.281, allocations: 43.98 kB / 1.373 GB, free: 67.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/1.282, allocations: 135.8 kB / 1.373 GB, free: 67.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000558/1.283, allocations: 185.6 kB / 1.374 GB, free: 66.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.283, allocations: 56 kB / 1.374 GB, free: 66.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001713/1.285, allocations: 1.378 MB / 1.375 GB, free: 65.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/1.285, allocations: 4 kB / 1.375 GB, free: 65.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003196/1.288, allocations: 1.046 MB / 1.376 GB, free: 64.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00756/1.296, allocations: 5.532 MB / 1.381 GB, free: 58.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008329/1.304, allocations: 6.289 MB / 1.388 GB, free: 52.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.304, allocations: 8.812 kB / 1.388 GB, free: 52.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005591/1.31, allocations: 4.397 MB / 1.392 GB, free: 47.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/1.315, allocations: 0.9832 MB / 1.393 GB, free: 46.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05036/1.365, allocations: 30.64 MB / 1.423 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003803/1.369, allocations: 3.139 MB / 1.426 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001721/1.371, allocations: 0.5199 MB / 1.426 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.372, allocations: 1.675 MB / 1.428 GB, free: 9.727 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.372, allocations: 0 / 1.428 GB, free: 9.727 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1958/1.568, allocations: 89.54 MB / 1.515 GB, free: 1.199 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.63, allocations: 3.75 kB / 1.515 GB, free: 1.195 MB / 1.092 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches