Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.00141/0.00141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6113, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03875/0.6501, allocations: 37.6 MB / 1.054 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.6722, allocations: 13.03 MB / 1.067 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003681/0.6759, allocations: 171.1 kB / 1.067 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009001/0.6849, allocations: 3.885 MB / 1.071 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.6911, allocations: 2.487 MB / 1.073 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.6972, allocations: 2.715 MB / 1.076 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.7092, allocations: 9.564 MB / 1.085 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.7237, allocations: 10.65 MB / 1.096 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006927/0.7307, allocations: 3.969 MB / 1.1 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006996/0.7377, allocations: 4.381 MB / 1.104 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.74, allocations: 0.7695 MB / 1.105 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.7446, allocations: 1.779 MB / 1.106 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00451/0.7491, allocations: 3.04 MB / 1.109 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005991/0.7551, allocations: 3.587 MB / 1.113 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.7676, allocations: 11.77 MB / 1.124 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7676, allocations: 0 / 1.124 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7676, allocations: 0 / 1.124 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003206/0.768, allocations: 0 / 1.124 GB, free: 4.785 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0167/0.7847, allocations: 6.358 MB / 1.13 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7847, allocations: 8.031 kB / 1.13 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001841/0.7866, allocations: 0.7557 MB / 1.131 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009036/0.7956, allocations: 1.293 MB / 1.132 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007615/0.8033, allocations: 3.572 MB / 1.136 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.8037, allocations: 382.5 kB / 1.136 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.8056, allocations: 0.4962 MB / 1.137 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.8229, allocations: 8.886 MB / 1.145 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.823, allocations: 31.72 kB / 1.146 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006512/0.8237, allocations: 219.9 kB / 1.146 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002459/0.8262, allocations: 0.6304 MB / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.8392, allocations: 7.014 MB / 1.153 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04936/0.8886, allocations: 40.33 MB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004317/0.893, allocations: 2.894 MB / 1.195 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.8967, allocations: 2.667 MB / 1.198 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.8969, allocations: 26.09 kB / 1.198 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.8969, allocations: 68.59 kB / 1.198 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=265): time 4.558e-06/0.8969, allocations: 0 / 1.198 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=424): time 0.7564/1.653, allocations: 74.72 MB / 1.271 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.653, allocations: 93.7 kB / 1.271 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/1.657, allocations: 2.349 MB / 1.273 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.657, allocations: 98.27 kB / 1.274 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/1.659, allocations: 2.337 MB / 1.276 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.66, allocations: 1.44 MB / 1.277 GB, free: 199.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.661, allocations: 0.7202 MB / 1.278 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.457e-05/1.661, allocations: 305.1 kB / 1.278 GB, free: 198.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/1.665, allocations: 2.999 MB / 1.281 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/1.668, allocations: 3.852 MB / 1.285 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/1.676, allocations: 7.381 MB / 1.292 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.676, allocations: 7.688 kB / 1.292 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02565/1.702, allocations: 12.56 MB / 1.304 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.702, allocations: 14.91 kB / 1.304 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.702, allocations: 25.25 kB / 1.304 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/1.724, allocations: 6.072 MB / 1.31 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.726, allocations: 495.2 kB / 1.311 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06803/1.794, allocations: 73.04 MB / 1.382 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004074/1.798, allocations: 219.8 kB / 1.382 GB, free: 102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/1.799, allocations: 156 kB / 1.383 GB, free: 101.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002858/1.801, allocations: 1.984 MB / 1.384 GB, free: 99.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008037/1.802, allocations: 399.3 kB / 1.385 GB, free: 99.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02539/1.828, allocations: 12.23 MB / 1.397 GB, free: 87.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.828, allocations: 40.19 kB / 1.397 GB, free: 87.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/1.828, allocations: 48 kB / 1.397 GB, free: 87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.936e-05/1.828, allocations: 23.86 kB / 1.397 GB, free: 86.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03544/1.863, allocations: 19.15 MB / 1.416 GB, free: 67.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.863, allocations: 4 kB / 1.416 GB, free: 67.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.865, allocations: 295.6 kB / 1.416 GB, free: 67.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01993/1.885, allocations: 5.611 MB / 1.421 GB, free: 61.67 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000568/1.886, allocations: 87.98 kB / 1.421 GB, free: 61.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06755/1.953, allocations: 70.66 MB / 1.49 GB, free: 3.617 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/1.953, allocations: 11.94 kB / 1.49 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03201/1.985, allocations: 15.62 MB / 1.506 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/1.988, allocations: 1.043 MB / 1.507 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007602/1.989, allocations: 80 kB / 1.507 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.991, allocations: 219.7 kB / 1.507 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/1.993, allocations: 402.2 kB / 1.507 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/1.993, allocations: 112 kB / 1.507 GB, free: 1.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002098/1.995, allocations: 1.556 MB / 1.509 GB, free: 344 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.995, allocations: 0 / 1.509 GB, free: 344 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.00583/2.001, allocations: 1.859 MB / 1.511 GB, free: 14.47 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03124/2.032, allocations: 16.31 MB / 1.527 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02733/2.059, allocations: 14.97 MB / 1.541 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.059, allocations: 4 kB / 1.541 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01514/2.075, allocations: 8.355 MB / 1.55 GB, free: 6.016 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005569/2.08, allocations: 1.186 MB / 1.551 GB, free: 4.863 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/2.186, allocations: 60.32 MB / 1.61 GB, free: 4.422 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/2.191, allocations: 4.094 MB / 1.614 GB, free: 300 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002468/2.193, allocations: 0.667 MB / 1.614 GB, free: 15.62 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.195, allocations: 2.124 MB / 1.616 GB, free: 13.5 MB / 1.154 GB Notification: Performance of SimCode: time 8.12e-07/2.195, allocations: 0 / 1.616 GB, free: 13.5 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7204/2.916, allocations: 151.5 MB / 1.764 GB, free: 400.4 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.95, allocations: 9.875 kB / 1.764 GB, free: 400.4 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches