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.007837/0.007837, allocations: 101.2 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.001919/0.00192, allocations: 197.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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.77 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2993, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02233/0.3217, allocations: 20.25 MB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3324, allocations: 6.441 MB / 1.114 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.3341, allocations: 87.56 kB / 1.114 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005533/0.3397, allocations: 2.248 MB / 1.116 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.3427, allocations: 1.181 MB / 1.117 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.3458, allocations: 1.287 MB / 1.118 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.3513, allocations: 4.846 MB / 1.123 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006817/0.3581, allocations: 5.595 MB / 1.128 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.361, allocations: 2.084 MB / 1.13 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.3646, allocations: 2.344 MB / 1.133 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009642/0.3655, allocations: 428 kB / 1.133 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.3678, allocations: 1.006 MB / 1.134 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.3699, allocations: 1.676 MB / 1.136 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.3729, allocations: 1.906 MB / 1.138 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.3789, allocations: 6.518 MB / 1.144 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3789, allocations: 7.938 kB / 1.144 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3789, allocations: 0 / 1.144 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.517e-05/0.379, allocations: 0 / 1.144 GB, free: 7.906 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.00574/0.3847, allocations: 3.452 MB / 1.147 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3848, allocations: 8.031 kB / 1.147 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/0.3853, allocations: 462.5 kB / 1.148 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.3885, allocations: 0.641 MB / 1.148 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/0.3921, allocations: 2.037 MB / 1.15 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.3923, allocations: 230.3 kB / 1.151 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.3927, allocations: 296 kB / 1.151 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/0.3992, allocations: 4.878 MB / 1.156 GB, free: 11.59 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.3993, allocations: 11.94 kB / 1.156 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.3996, allocations: 136 kB / 1.156 GB, free: 11.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004045/0.4, allocations: 225.7 kB / 1.156 GB, free: 11.22 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.4053, allocations: 3.754 MB / 1.16 GB, free: 7.453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.4247, allocations: 21.41 MB / 1.181 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.4264, allocations: 1.302 MB / 1.182 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.4278, allocations: 1.054 MB / 1.183 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.4278, allocations: 16.94 kB / 1.183 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4279, allocations: 43.56 kB / 1.183 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=107): time 2.625e-06/0.4279, allocations: 0 / 1.183 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.02393/0.4518, allocations: 8.66 MB / 1.191 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4519, allocations: 72.72 kB / 1.192 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.4534, allocations: 1.122 MB / 1.193 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4535, allocations: 49.7 kB / 1.193 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.4543, allocations: 1.3 MB / 1.194 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.4547, allocations: 477.1 kB / 1.194 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.4552, allocations: 291.3 kB / 1.195 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4553, allocations: 309.1 kB / 1.195 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4565, allocations: 0.9135 MB / 1.196 GB, free: 332 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.458, allocations: 1.322 MB / 1.197 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.4609, allocations: 2.43 MB / 1.2 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4609, allocations: 4 kB / 1.2 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005819/0.4667, allocations: 3.471 MB / 1.203 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4667, allocations: 8 kB / 1.203 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4668, allocations: 12 kB / 1.203 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.4699, allocations: 1.187 MB / 1.204 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.4708, allocations: 259.6 kB / 1.204 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.4873, allocations: 13.83 MB / 1.218 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.4886, allocations: 91.91 kB / 1.218 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.4888, allocations: 64 kB / 1.218 GB, free: 8.863 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.001688/0.4905, allocations: 1.114 MB / 1.219 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.4908, allocations: 166.1 kB / 1.219 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/0.4965, allocations: 3.169 MB / 1.222 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4965, allocations: 12 kB / 1.222 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/0.4965, allocations: 15.94 kB / 1.222 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4965, allocations: 3.984 kB / 1.222 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5068, allocations: 6.245 MB / 1.228 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5068, allocations: 4.375 kB / 1.228 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.5074, allocations: 151.8 kB / 1.229 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.5102, allocations: 1.073 MB / 1.23 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.199e-05/0.5103, allocations: 28 kB / 1.23 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/0.5261, allocations: 13.54 MB / 1.243 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5262, allocations: 4 kB / 1.243 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/0.5316, allocations: 3.15 MB / 1.246 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/0.5325, allocations: 430.9 kB / 1.246 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.5328, allocations: 35.98 kB / 1.246 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.5337, allocations: 76.28 kB / 1.247 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/0.5341, allocations: 128.7 kB / 1.247 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/0.5342, allocations: 40 kB / 1.247 GB, free: 10.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001057/0.5352, allocations: 0.7632 MB / 1.247 GB, free: 10.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5352, allocations: 3.938 kB / 1.247 GB, free: 10.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001916/0.5372, allocations: 0.6602 MB / 1.248 GB, free: 9.359 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.005181/0.5424, allocations: 3.74 MB / 1.252 GB, free: 5.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004626/0.547, allocations: 3.146 MB / 1.255 GB, free: 2.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.547, allocations: 0 / 1.255 GB, free: 2.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002854/0.5499, allocations: 1.951 MB / 1.257 GB, free: 360 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4676/1.018, allocations: 499.3 kB / 1.257 GB, free: 158.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/1.046, allocations: 19.11 MB / 1.276 GB, free: 152.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/1.048, allocations: 2.341 MB / 1.278 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009876/1.049, allocations: 350.2 kB / 1.278 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009017/1.05, allocations: 1.009 MB / 1.279 GB, free: 150.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.05, allocations: 3.938 kB / 1.279 GB, free: 150.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.752/2.802, allocations: 52.3 MB / 1.331 GB, free: 118.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/16.96, allocations: 14.81 kB / 1.331 GB, free: 118.4 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