Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_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.0008118/0.0008117, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005198/0.005198, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.264/2.264, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4926, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005402/0.498, allocations: 5.154 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.5013, allocations: 2.619 MB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.5015, allocations: 23.81 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.5018, allocations: 103.1 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.5024, allocations: 382.2 kB / 1.031 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.5031, allocations: 387.1 kB / 1.032 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.5041, allocations: 1.251 MB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.5052, allocations: 0.7793 MB / 1.034 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.5056, allocations: 322.5 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.506, allocations: 382.4 kB / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.5061, allocations: 24 kB / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.5066, allocations: 431.1 kB / 1.035 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.5068, allocations: 219.3 kB / 1.035 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.5071, allocations: 343.9 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.5079, allocations: 0.9598 MB / 1.036 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5079, allocations: 0 / 1.036 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5079, allocations: 0 / 1.036 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.508, allocations: 0 / 1.036 GB, free: 2.465 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001226/0.5092, allocations: 0.8531 MB / 1.037 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5092, allocations: 8.031 kB / 1.037 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.5093, allocations: 106.7 kB / 1.037 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.5106, allocations: 199.8 kB / 1.037 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.5113, allocations: 498.3 kB / 1.038 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.5113, allocations: 37.36 kB / 1.038 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5115, allocations: 52.31 kB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5125, allocations: 0.8316 MB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.5126, allocations: 11.89 kB / 1.039 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.5127, allocations: 27.98 kB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.5128, allocations: 60.95 kB / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.5137, allocations: 0.5774 MB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.5177, allocations: 4.581 MB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.5182, allocations: 303.2 kB / 1.044 GB, free: 9.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5185, allocations: 225.3 kB / 1.044 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5185, allocations: 4.281 kB / 1.044 GB, free: 9.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5185, allocations: 42.78 kB / 1.044 GB, free: 9.523 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.5185, allocations: 0 / 1.044 GB, free: 9.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005178/0.5237, allocations: 2.634 MB / 1.047 GB, free: 6.762 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.5238, allocations: 67.28 kB / 1.047 GB, free: 6.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.5242, allocations: 462 kB / 1.047 GB, free: 6.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.5243, allocations: 33.7 kB / 1.047 GB, free: 6.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5245, allocations: 347.6 kB / 1.048 GB, free: 5.836 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.5246, allocations: 141.9 kB / 1.048 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.5247, allocations: 45.7 kB / 1.048 GB, free: 5.645 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5248, allocations: 370.8 kB / 1.048 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.5251, allocations: 229 kB / 1.049 GB, free: 5.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.5256, allocations: 410.5 kB / 1.049 GB, free: 4.574 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008028/0.5264, allocations: 0.6817 MB / 1.05 GB, free: 3.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5264, allocations: 4 kB / 1.05 GB, free: 3.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001542/0.5279, allocations: 0.9135 MB / 1.05 GB, free: 2.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.528, allocations: 13.75 kB / 1.05 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.528, allocations: 11.98 kB / 1.051 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007329/0.5287, allocations: 222.4 kB / 1.051 GB, free: 2.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.5292, allocations: 115.8 kB / 1.051 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.5337, allocations: 4.939 MB / 1.056 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.534, allocations: 31.97 kB / 1.056 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.5341, allocations: 24.06 kB / 1.056 GB, free: 13.13 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0002477/0.5343, allocations: 230.9 kB / 1.056 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.5344, allocations: 55.34 kB / 1.056 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.5359, allocations: 0.7772 MB / 1.057 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5359, allocations: 4 kB / 1.057 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5359, allocations: 4 kB / 1.057 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5359, allocations: 3.938 kB / 1.057 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.5381, allocations: 1.502 MB / 1.058 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5381, allocations: 8 kB / 1.058 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.5385, allocations: 67.88 kB / 1.058 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006248/0.5391, allocations: 210.5 kB / 1.058 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.5391, allocations: 11.94 kB / 1.058 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.5434, allocations: 4.865 MB / 1.063 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5434, allocations: 11.94 kB / 1.063 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.545, allocations: 1.127 MB / 1.064 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.5452, allocations: 172.4 kB / 1.065 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.5453, allocations: 8 kB / 1.065 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.5456, allocations: 28.03 kB / 1.065 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.5457, allocations: 43.83 kB / 1.065 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.5457, allocations: 12 kB / 1.065 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002905/0.546, allocations: 310.9 kB / 1.065 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.546, allocations: 0 / 1.065 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005451/0.5465, allocations: 172 kB / 1.065 GB, free: 2.949 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.001897/0.5484, allocations: 1.696 MB / 1.067 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.5498, allocations: 1.012 MB / 1.068 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5498, allocations: 3.938 kB / 1.068 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.5507, allocations: 0.6721 MB / 1.068 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009291/0.5517, allocations: 169.1 kB / 1.069 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.5588, allocations: 5.996 MB / 1.074 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.5593, allocations: 0.9455 MB / 1.075 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.5596, allocations: 121 kB / 1.075 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.5599, allocations: 211.4 kB / 1.076 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.5599, allocations: 0 / 1.076 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.948/2.508, allocations: 13.36 MB / 1.089 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/2.508, allocations: 252.1 kB / 1.089 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/4.797, allocations: 0 / 1.089 GB, free: 10.39 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches