Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_RLC,fileNamePrefix="Buildings_9_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_9_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.001463/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001614, allocations: 193.7 kB / 16.14 MB, free: 6.719 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7445, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03861/0.7832, allocations: 37.25 MB / 0.9854 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.8076, allocations: 13.01 MB / 0.9981 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00652/0.8141, allocations: 159.1 kB / 0.9983 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009463/0.8237, allocations: 3.613 MB / 1.002 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007287/0.831, allocations: 2.341 MB / 1.004 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006874/0.8379, allocations: 2.48 MB / 1.007 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01537/0.8532, allocations: 13.36 MB / 1.02 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.8711, allocations: 11.69 MB / 1.031 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/0.8779, allocations: 3.397 MB / 1.034 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006918/0.8848, allocations: 4.459 MB / 1.039 GB, free: 5.996 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002765/0.8876, allocations: 0.4922 MB / 1.039 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006614/0.8942, allocations: 1.817 MB / 1.041 GB, free: 3.684 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004281/0.8985, allocations: 2.751 MB / 1.044 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004692/0.9032, allocations: 3.27 MB / 1.047 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008893/0.9122, allocations: 11.65 MB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9122, allocations: 0 / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.9122, allocations: 3.938 kB / 1.058 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000206/0.9124, allocations: 3.938 kB / 1.058 GB, free: 1.945 MB / 0.8106 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.01149/0.9239, allocations: 6.343 MB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.924, allocations: 8.031 kB / 1.064 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009226/0.9249, allocations: 0.7596 MB / 1.065 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007429/0.9323, allocations: 1.301 MB / 1.066 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005614/0.9379, allocations: 3.568 MB / 1.07 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.9382, allocations: 378.5 kB / 1.07 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/0.9389, allocations: 0.4963 MB / 1.071 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.951, allocations: 8.89 MB / 1.079 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.9512, allocations: 23.78 kB / 1.079 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/0.9517, allocations: 223.9 kB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/0.9536, allocations: 0.6343 MB / 1.08 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.9636, allocations: 7.018 MB / 1.087 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03796/1.002, allocations: 40.33 MB / 1.127 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/1.005, allocations: 2.895 MB / 1.129 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/1.008, allocations: 2.675 MB / 1.132 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/1.008, allocations: 30.09 kB / 1.132 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.008, allocations: 64.59 kB / 1.132 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=265): time 4.118e-06/1.008, allocations: 0 / 1.132 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=424): time 0.2651/1.273, allocations: 74.65 MB / 1.205 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/1.274, allocations: 94.73 kB / 1.205 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003148/1.277, allocations: 2.363 MB / 1.207 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.277, allocations: 97.7 kB / 1.207 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.278, allocations: 2.333 MB / 1.21 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.28, allocations: 1.448 MB / 1.211 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.281, allocations: 0.7215 MB / 1.212 GB, free: 60 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/1.281, allocations: 305.1 kB / 1.212 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/1.285, allocations: 2.999 MB / 1.215 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/1.29, allocations: 3.839 MB / 1.219 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009225/1.299, allocations: 7.384 MB / 1.226 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.299, allocations: 12 kB / 1.226 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02526/1.324, allocations: 12.56 MB / 1.238 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.324, allocations: 12 kB / 1.238 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.324, allocations: 27.94 kB / 1.238 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/1.345, allocations: 6.017 MB / 1.244 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.347, allocations: 0.4952 MB / 1.245 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4544/1.801, allocations: 67.16 MB / 1.31 GB, free: 238.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.805, allocations: 218.1 kB / 1.31 GB, free: 238.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/1.805, allocations: 157.1 kB / 1.311 GB, free: 238.6 MB / 1.014 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.003083/1.808, allocations: 1.996 MB / 1.313 GB, free: 237.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/1.809, allocations: 388.1 kB / 1.313 GB, free: 237.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/1.831, allocations: 12.23 MB / 1.325 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.831, allocations: 43.12 kB / 1.325 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/1.832, allocations: 55.09 kB / 1.325 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-05/1.832, allocations: 23.86 kB / 1.325 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/1.861, allocations: 19.13 MB / 1.344 GB, free: 218.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.861, allocations: 12.03 kB / 1.344 GB, free: 218.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.863, allocations: 293.2 kB / 1.344 GB, free: 218 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01684/1.879, allocations: 5.58 MB / 1.349 GB, free: 212.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.88, allocations: 76 kB / 1.35 GB, free: 212.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05533/1.935, allocations: 64.78 MB / 1.413 GB, free: 144.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.935, allocations: 11.94 kB / 1.413 GB, free: 144.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.959, allocations: 15.62 MB / 1.428 GB, free: 128.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.961, allocations: 1.047 MB / 1.429 GB, free: 127.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.961, allocations: 80.12 kB / 1.429 GB, free: 127.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.963, allocations: 223.7 kB / 1.429 GB, free: 127.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/1.965, allocations: 402.3 kB / 1.43 GB, free: 126.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.965, allocations: 108 kB / 1.43 GB, free: 126.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001572/1.966, allocations: 1.56 MB / 1.431 GB, free: 125.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.966, allocations: 0 / 1.431 GB, free: 125.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004513/1.971, allocations: 1.859 MB / 1.433 GB, free: 123.2 MB / 1.014 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.02351/1.994, allocations: 16.28 MB / 1.449 GB, free: 106.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01572/2.01, allocations: 12.17 MB / 1.461 GB, free: 94.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/2.01, allocations: 11.97 kB / 1.461 GB, free: 94.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01166/2.022, allocations: 8.348 MB / 1.469 GB, free: 85.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/2.027, allocations: 1.106 MB / 1.47 GB, free: 84.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08263/2.109, allocations: 62.69 MB / 1.531 GB, free: 17.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/2.112, allocations: 4.093 MB / 1.535 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002041/2.115, allocations: 0.6669 MB / 1.536 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/2.116, allocations: 2.128 MB / 1.538 GB, free: 10.74 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/2.116, allocations: 0 / 1.538 GB, free: 10.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.151/5.267, allocations: 147.6 MB / 1.682 GB, free: 8.371 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/5.268, allocations: 255.8 kB / 1.683 GB, free: 8.109 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.215/10.48, allocations: 0 / 1.683 GB, free: 8.109 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches