Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.0043/0.0043, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001041/0.001041, allocations: 196 kB / 16.67 MB, free: 6.355 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.421/2.421, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.12 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2428, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02906/0.2719, allocations: 26.65 MB / 1.114 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.2867, allocations: 8.078 MB / 1.121 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.2895, allocations: 119.4 kB / 1.122 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00714/0.2967, allocations: 2.759 MB / 1.124 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.3016, allocations: 1.582 MB / 1.126 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.3065, allocations: 1.671 MB / 1.127 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008483/0.315, allocations: 6.138 MB / 1.133 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008213/0.3233, allocations: 7.327 MB / 1.141 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.3274, allocations: 2.57 MB / 1.143 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/0.332, allocations: 2.839 MB / 1.146 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.3331, allocations: 0.5078 MB / 1.146 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.336, allocations: 1.279 MB / 1.148 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.3385, allocations: 2.047 MB / 1.15 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003413/0.3419, allocations: 2.389 MB / 1.152 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009467/0.3514, allocations: 8.055 MB / 1.16 GB, free: 7.652 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3514, allocations: 4 kB / 1.16 GB, free: 7.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3514, allocations: 0 / 1.16 GB, free: 7.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002445/0.3517, allocations: 0 / 1.16 GB, free: 7.648 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01031/0.362, allocations: 4.232 MB / 1.164 GB, free: 3.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.3621, allocations: 12.03 kB / 1.164 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008312/0.3629, allocations: 0.5382 MB / 1.164 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.3672, allocations: 0.7884 MB / 1.165 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.3726, allocations: 2.581 MB / 1.168 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3729, allocations: 275.5 kB / 1.168 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009439/0.3738, allocations: 380.4 kB / 1.168 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009849/0.3837, allocations: 5.988 MB / 1.174 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.86e-05/0.3838, allocations: 19.78 kB / 1.174 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.3842, allocations: 164 kB / 1.174 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006002/0.3848, allocations: 282.9 kB / 1.175 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/0.3922, allocations: 4.52 MB / 1.179 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02746/0.4197, allocations: 27.46 MB / 1.206 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.4214, allocations: 1.113 MB / 1.207 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.4226, allocations: 1.015 MB / 1.208 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.286e-05/0.4227, allocations: 13 kB / 1.208 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.4228, allocations: 43.56 kB / 1.208 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 4.989e-06/0.4228, allocations: 0 / 1.208 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=131): time 0.02095/0.4437, allocations: 9.68 MB / 1.217 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4438, allocations: 64.72 kB / 1.218 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.4457, allocations: 1.494 MB / 1.219 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.4458, allocations: 45.7 kB / 1.219 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000992/0.4468, allocations: 1.671 MB / 1.221 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.4472, allocations: 469.4 kB / 1.221 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/0.4477, allocations: 331.2 kB / 1.221 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.4478, allocations: 305.1 kB / 1.222 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.449, allocations: 0.9174 MB / 1.223 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.4506, allocations: 1.463 MB / 1.224 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.4537, allocations: 2.55 MB / 1.227 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4538, allocations: 4 kB / 1.227 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005446/0.4592, allocations: 3.286 MB / 1.23 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4593, allocations: 16 kB / 1.23 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.4593, allocations: 16 kB / 1.23 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.4615, allocations: 0.7376 MB / 1.23 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.463, allocations: 383.4 kB / 1.231 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/0.478, allocations: 17.04 MB / 1.248 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.4796, allocations: 99.91 kB / 1.248 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.4797, allocations: 80.05 kB / 1.248 GB, free: 8.629 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.4818, allocations: 1.305 MB / 1.249 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.4822, allocations: 201.6 kB / 1.249 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.4874, allocations: 2.792 MB / 1.252 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4875, allocations: 12 kB / 1.252 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4875, allocations: 8 kB / 1.252 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4875, allocations: 3.984 kB / 1.252 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5846/1.072, allocations: 6.211 MB / 1.258 GB, free: 154.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.072, allocations: 5.375 kB / 1.258 GB, free: 154.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.073, allocations: 230 kB / 1.258 GB, free: 154.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/1.076, allocations: 0.6701 MB / 1.259 GB, free: 154.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.076, allocations: 34.77 kB / 1.259 GB, free: 154.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.09, allocations: 16.78 MB / 1.275 GB, free: 140.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.09, allocations: 7.281 kB / 1.275 GB, free: 140.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006934/1.097, allocations: 4.012 MB / 1.279 GB, free: 139.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.098, allocations: 457.2 kB / 1.28 GB, free: 138.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/1.098, allocations: 37.11 kB / 1.28 GB, free: 138.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000922/1.099, allocations: 81.27 kB / 1.28 GB, free: 138.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/1.099, allocations: 114 kB / 1.28 GB, free: 138.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/1.099, allocations: 40.59 kB / 1.28 GB, free: 138.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001378/1.101, allocations: 0.9926 MB / 1.281 GB, free: 138.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.101, allocations: 0.75 kB / 1.281 GB, free: 138.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002329/1.103, allocations: 0.6836 MB / 1.282 GB, free: 138.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006022/1.109, allocations: 4.611 MB / 1.286 GB, free: 136.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004948/1.114, allocations: 3.516 MB / 1.289 GB, free: 134.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.114, allocations: 1.281 kB / 1.289 GB, free: 134.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/1.117, allocations: 2.294 MB / 1.292 GB, free: 132.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/1.12, allocations: 0.6847 MB / 1.292 GB, free: 132.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/1.152, allocations: 21.14 MB / 1.313 GB, free: 122.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/1.155, allocations: 2.664 MB / 1.316 GB, free: 121 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001495/1.156, allocations: 490.8 kB / 1.316 GB, free: 120.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.157, allocations: 1.287 MB / 1.317 GB, free: 119.8 MB / 1.014 GB Notification: Performance of SimCode: time 9.31e-07/1.157, allocations: 0 / 1.317 GB, free: 119.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.459/3.616, allocations: 57.2 MB / 1.373 GB, free: 69.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/18.48, allocations: 14.03 kB / 1.373 GB, free: 69.46 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches