Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001413/0.001413, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001662/0.001662, allocations: 190.6 kB / 16.25 MB, free: 6.645 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.354/2.354, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.7091, allocations: 140.4 MB / 0.9492 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0331/0.7423, allocations: 32.31 MB / 0.9808 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.7603, allocations: 10.18 MB / 0.9907 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.7643, allocations: 135.2 kB / 0.9909 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009105/0.7735, allocations: 3.501 MB / 0.9943 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.7798, allocations: 1.7 MB / 0.9959 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.7853, allocations: 1.945 MB / 0.9978 GB, free: 160 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009143/0.7945, allocations: 7.341 MB / 1.005 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/0.8113, allocations: 11.6 MB / 1.016 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.8164, allocations: 3.22 MB / 1.019 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005519/0.822, allocations: 3.657 MB / 1.023 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.8238, allocations: 0.6445 MB / 1.024 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.8283, allocations: 1.767 MB / 1.025 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003733/0.8321, allocations: 2.554 MB / 1.028 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005825/0.8379, allocations: 2.898 MB / 1.031 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009434/0.8474, allocations: 10.14 MB / 1.041 GB, free: 4.129 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8474, allocations: 0 / 1.041 GB, free: 4.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8474, allocations: 0 / 1.041 GB, free: 4.129 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001764/0.8476, allocations: 0 / 1.041 GB, free: 4.129 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008427/0.856, allocations: 4.998 MB / 1.046 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8561, allocations: 8.031 kB / 1.046 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008096/0.8569, allocations: 0.6859 MB / 1.046 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.8618, allocations: 0.9589 MB / 1.047 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.8662, allocations: 2.851 MB / 1.05 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.8664, allocations: 345.7 kB / 1.05 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006442/0.8671, allocations: 468.1 kB / 1.051 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.8783, allocations: 7.678 MB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.8785, allocations: 19.78 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.8789, allocations: 204 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.8792, allocations: 313 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00818/0.8874, allocations: 5.706 MB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.9177, allocations: 35.09 MB / 1.099 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.9202, allocations: 2.164 MB / 1.101 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.9216, allocations: 1.264 MB / 1.102 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.9217, allocations: 13.31 kB / 1.102 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.9217, allocations: 55.81 kB / 1.102 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 2.966e-06/0.9218, allocations: 0 / 1.102 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01235/0.9341, allocations: 7.088 MB / 1.109 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.9342, allocations: 64.72 kB / 1.109 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.936, allocations: 1.476 MB / 1.11 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.9361, allocations: 53.69 kB / 1.11 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.9372, allocations: 2.008 MB / 1.112 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.9376, allocations: 485.1 kB / 1.113 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.9381, allocations: 351.2 kB / 1.113 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.9382, allocations: 309.1 kB / 1.113 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.9393, allocations: 0.9096 MB / 1.114 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.9409, allocations: 1.585 MB / 1.116 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.9438, allocations: 2.741 MB / 1.119 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.9438, allocations: 4 kB / 1.119 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005453/0.9493, allocations: 3.534 MB / 1.122 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.9493, allocations: 18.28 kB / 1.122 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.9494, allocations: 27.94 kB / 1.122 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.9518, allocations: 0.9 MB / 1.123 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.9529, allocations: 351.4 kB / 1.123 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.9725, allocations: 23.12 MB / 1.146 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.9739, allocations: 99.95 kB / 1.146 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.9741, allocations: 84 kB / 1.146 GB, free: 1.559 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0024/0.9765, allocations: 1.615 MB / 1.148 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.9769, allocations: 209.5 kB / 1.148 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.9818, allocations: 2.982 MB / 1.151 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9818, allocations: 12 kB / 1.151 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/0.9819, allocations: 12 kB / 1.151 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.9819, allocations: 7.969 kB / 1.151 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.9929, allocations: 7.344 MB / 1.158 GB, free: 5.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9929, allocations: 7.938 kB / 1.158 GB, free: 5.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.9937, allocations: 180.3 kB / 1.158 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.996, allocations: 0.8257 MB / 1.159 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.9961, allocations: 24 kB / 1.159 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/1.014, allocations: 21.96 MB / 1.18 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.014, allocations: 7.938 kB / 1.18 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/1.019, allocations: 3.023 MB / 1.183 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000858/1.02, allocations: 462.4 kB / 1.184 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/1.02, allocations: 28 kB / 1.184 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/1.021, allocations: 71.91 kB / 1.184 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.021, allocations: 132.6 kB / 1.184 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/1.021, allocations: 36 kB / 1.184 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001273/1.022, allocations: 0.9795 MB / 1.185 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/1.022, allocations: 0 / 1.185 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002504/1.025, allocations: 0.7891 MB / 1.186 GB, free: 6.691 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004889/1.03, allocations: 3.614 MB / 1.189 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.036, allocations: 4.648 MB / 1.194 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.036, allocations: 0 / 1.194 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.04, allocations: 2.733 MB / 1.197 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.043, allocations: 0.7305 MB / 1.197 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/1.078, allocations: 25.76 MB / 1.222 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/1.081, allocations: 3.113 MB / 1.225 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001332/1.082, allocations: 454 kB / 1.226 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.084, allocations: 1.538 MB / 1.227 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/1.084, allocations: 0 / 1.227 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/2.099, allocations: 60.42 MB / 1.286 GB, free: 272.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/2.1, allocations: 245.1 kB / 1.287 GB, free: 272.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.902, allocations: 0 / 1.287 GB, free: 272.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches