Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001667/0.001667, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002735/0.002735, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.48/3.48, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 57.41 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2433, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02534/0.2687, allocations: 26.45 MB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.2799, allocations: 7.993 MB / 1.086 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2819, allocations: 103.4 kB / 1.086 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.2878, allocations: 2.594 MB / 1.089 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.2912, allocations: 1.458 MB / 1.09 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.2945, allocations: 1.538 MB / 1.092 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005845/0.3004, allocations: 6.158 MB / 1.098 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.3109, allocations: 8.962 MB / 1.106 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.3141, allocations: 2.609 MB / 1.109 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003624/0.3177, allocations: 2.975 MB / 1.112 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.3188, allocations: 0.5078 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.3213, allocations: 1.283 MB / 1.114 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.3235, allocations: 2.047 MB / 1.116 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.3267, allocations: 2.381 MB / 1.118 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.3331, allocations: 8.071 MB / 1.126 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3331, allocations: 0 / 1.126 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3331, allocations: 0 / 1.126 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001585/0.3333, allocations: 4 kB / 1.126 GB, free: 13.23 MB / 0.8887 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.007494/0.3408, allocations: 4.224 MB / 1.13 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3408, allocations: 12.62 kB / 1.13 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007416/0.3416, allocations: 0.5382 MB / 1.13 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.3455, allocations: 0.7961 MB / 1.131 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.3494, allocations: 2.428 MB / 1.134 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.3496, allocations: 279.6 kB / 1.134 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007126/0.3504, allocations: 380.4 kB / 1.134 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.3607, allocations: 5.996 MB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.864e-05/0.3609, allocations: 15.88 kB / 1.14 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/0.3612, allocations: 160 kB / 1.14 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005859/0.3618, allocations: 278.9 kB / 1.141 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006762/0.3686, allocations: 4.528 MB / 1.145 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03275/0.4013, allocations: 27.66 MB / 1.172 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.4032, allocations: 1.117 MB / 1.173 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4046, allocations: 1.015 MB / 1.174 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.4048, allocations: 17 kB / 1.174 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.4048, allocations: 51.5 kB / 1.174 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.4048, allocations: 0 / 1.174 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02218/0.427, allocations: 9.663 MB / 1.184 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4271, allocations: 68.66 kB / 1.184 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4293, allocations: 1.494 MB / 1.185 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4294, allocations: 49.7 kB / 1.185 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.4304, allocations: 1.659 MB / 1.187 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.4308, allocations: 477.2 kB / 1.187 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.4314, allocations: 323.2 kB / 1.187 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.4315, allocations: 309.1 kB / 1.188 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4328, allocations: 0.9174 MB / 1.189 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4344, allocations: 1.459 MB / 1.19 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.4379, allocations: 2.554 MB / 1.193 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.4379, allocations: 4 kB / 1.193 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005573/0.4435, allocations: 3.294 MB / 1.196 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4435, allocations: 12 kB / 1.196 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.4435, allocations: 16 kB / 1.196 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.4458, allocations: 0.7452 MB / 1.197 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.4476, allocations: 383.4 kB / 1.197 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.4635, allocations: 17.05 MB / 1.214 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.4651, allocations: 99.91 kB / 1.214 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.4654, allocations: 75.98 kB / 1.214 GB, free: 14.14 MB / 0.9825 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.002195/0.4676, allocations: 1.305 MB / 1.215 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.4681, allocations: 205.6 kB / 1.215 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/0.4731, allocations: 2.788 MB / 1.218 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4731, allocations: 16 kB / 1.218 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.4732, allocations: 8 kB / 1.218 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.4732, allocations: 3.984 kB / 1.218 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/0.4844, allocations: 6.22 MB / 1.224 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4845, allocations: 4.188 kB / 1.224 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4856, allocations: 235.6 kB / 1.224 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.4878, allocations: 0.6794 MB / 1.225 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.488, allocations: 39.98 kB / 1.225 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.5093, allocations: 16.79 MB / 1.241 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.5094, allocations: 8 kB / 1.241 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.5201, allocations: 4.008 MB / 1.245 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.522, allocations: 450.7 kB / 1.246 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/0.5227, allocations: 39.88 kB / 1.246 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.5246, allocations: 80.02 kB / 1.246 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/0.5252, allocations: 116.7 kB / 1.246 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.5254, allocations: 47.98 kB / 1.246 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002939/0.5283, allocations: 0.9903 MB / 1.247 GB, free: 10.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.335e-06/0.5283, allocations: 0 / 1.247 GB, free: 10.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004433/0.5328, allocations: 0.6874 MB / 1.248 GB, free: 9.812 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.01044/0.5433, allocations: 4.612 MB / 1.252 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009876/0.5532, allocations: 4.096 MB / 1.256 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.5532, allocations: 4.875 kB / 1.256 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.3814/0.9346, allocations: 2.289 MB / 1.258 GB, free: 194.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.9373, allocations: 0.671 MB / 1.259 GB, free: 194.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/0.9666, allocations: 24.24 MB / 1.283 GB, free: 184.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/0.969, allocations: 2.665 MB / 1.285 GB, free: 183.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001516/0.9706, allocations: 487.8 kB / 1.286 GB, free: 183.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.9717, allocations: 1.28 MB / 1.287 GB, free: 183.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/0.9717, allocations: 5.094 kB / 1.287 GB, free: 183.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.134/2.106, allocations: 56.34 MB / 1.342 GB, free: 146.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/2.106, allocations: 252.3 kB / 1.342 GB, free: 146.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.176/6.282, allocations: 0 / 1.342 GB, free: 146.5 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches