Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.007936/0.007936, allocations: 100.3 kB / 15.73 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.00138/0.001379, allocations: 194.1 kB / 16.67 MB, free: 6.379 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.352/2.352, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 71.61 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02258/0.3077, allocations: 20.24 MB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3188, allocations: 6.437 MB / 1.114 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.321, allocations: 87.56 kB / 1.114 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005781/0.3269, allocations: 2.241 MB / 1.116 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.3303, allocations: 1.189 MB / 1.117 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.3337, allocations: 1.281 MB / 1.118 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005415/0.3392, allocations: 4.85 MB / 1.123 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007347/0.3465, allocations: 5.591 MB / 1.128 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.3498, allocations: 2.123 MB / 1.131 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.3537, allocations: 2.336 MB / 1.133 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.355, allocations: 432 kB / 1.133 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.3578, allocations: 1.003 MB / 1.134 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.3602, allocations: 1.668 MB / 1.136 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003301/0.3635, allocations: 1.922 MB / 1.138 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.3715, allocations: 6.514 MB / 1.144 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3715, allocations: 0 / 1.144 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3715, allocations: 0 / 1.144 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002084/0.3718, allocations: 4 kB / 1.144 GB, free: 7.84 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008769/0.3805, allocations: 3.455 MB / 1.147 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3806, allocations: 11.97 kB / 1.147 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001258/0.3819, allocations: 454.6 kB / 1.148 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.3858, allocations: 0.6449 MB / 1.149 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.3902, allocations: 2.033 MB / 1.15 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.3904, allocations: 226.3 kB / 1.151 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009063/0.3913, allocations: 308 kB / 1.151 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009677/0.401, allocations: 4.878 MB / 1.156 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.4012, allocations: 11.94 kB / 1.156 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006123/0.4018, allocations: 127.9 kB / 1.156 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004516/0.4022, allocations: 233.7 kB / 1.156 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007033/0.4093, allocations: 3.75 MB / 1.16 GB, free: 7.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0246/0.4339, allocations: 21.41 MB / 1.181 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.4358, allocations: 1.302 MB / 1.182 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.4373, allocations: 1.058 MB / 1.183 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.4374, allocations: 13 kB / 1.183 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.4375, allocations: 47.56 kB / 1.183 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=107): time 4.649e-06/0.4375, allocations: 0 / 1.183 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.0246/0.4621, allocations: 8.653 MB / 1.192 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4622, allocations: 68.72 kB / 1.192 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.4638, allocations: 1.122 MB / 1.193 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.464, allocations: 53.7 kB / 1.193 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.4648, allocations: 1.3 MB / 1.194 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.4652, allocations: 481.1 kB / 1.194 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/0.4658, allocations: 291.3 kB / 1.195 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.4658, allocations: 305.1 kB / 1.195 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.4671, allocations: 0.9135 MB / 1.196 GB, free: 260 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4686, allocations: 1.33 MB / 1.197 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.4717, allocations: 2.418 MB / 1.2 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.4717, allocations: 7.938 kB / 1.2 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005987/0.4777, allocations: 3.468 MB / 1.203 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4777, allocations: 15.94 kB / 1.203 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4778, allocations: 12 kB / 1.203 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.4809, allocations: 1.186 MB / 1.204 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009534/0.4818, allocations: 263.6 kB / 1.204 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.499, allocations: 13.83 MB / 1.218 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.5006, allocations: 95.97 kB / 1.218 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5008, allocations: 60 kB / 1.218 GB, free: 8.789 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001967/0.5028, allocations: 1.11 MB / 1.219 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.5033, allocations: 166 kB / 1.219 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.5091, allocations: 3.169 MB / 1.222 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.5091, allocations: 16 kB / 1.222 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/0.5092, allocations: 15.94 kB / 1.222 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.5092, allocations: 7.969 kB / 1.222 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.5206, allocations: 6.245 MB / 1.229 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5207, allocations: 4 kB / 1.229 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.5213, allocations: 151.8 kB / 1.229 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002795/0.5241, allocations: 1.072 MB / 1.23 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.5242, allocations: 32 kB / 1.23 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/0.5401, allocations: 13.53 MB / 1.243 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5402, allocations: 4 kB / 1.243 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.5454, allocations: 3.154 MB / 1.246 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.5465, allocations: 430.9 kB / 1.246 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/0.5469, allocations: 35.92 kB / 1.246 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.5478, allocations: 75.91 kB / 1.247 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.5482, allocations: 132.7 kB / 1.247 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/0.5483, allocations: 40 kB / 1.247 GB, free: 10.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00113/0.5494, allocations: 0.7632 MB / 1.247 GB, free: 9.938 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5494, allocations: 0 / 1.247 GB, free: 9.938 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002184/0.5516, allocations: 0.6602 MB / 1.248 GB, free: 9.277 MB / 1.014 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005862/0.5575, allocations: 3.736 MB / 1.252 GB, free: 5.453 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005666/0.5632, allocations: 3.142 MB / 1.255 GB, free: 2.266 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.5633, allocations: 4 kB / 1.255 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/0.5665, allocations: 1.944 MB / 1.257 GB, free: 288 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5617/1.128, allocations: 497.3 kB / 1.257 GB, free: 158.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/1.164, allocations: 19.11 MB / 1.276 GB, free: 152.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.168, allocations: 2.339 MB / 1.278 GB, free: 151.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00149/1.169, allocations: 349.3 kB / 1.278 GB, free: 151.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.17, allocations: 1.009 MB / 1.279 GB, free: 150.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.17, allocations: 0 / 1.279 GB, free: 150.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09078/1.261, allocations: 52.93 MB / 1.331 GB, free: 117.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.22, allocations: 6.969 kB / 1.331 GB, free: 117.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches