Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.005723/0.005723, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.00136/0.00136, allocations: 190 kB / 16.67 MB, free: 5.48 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.421/2.421, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7446, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.02031/0.7649, allocations: 10.03 MB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0064/0.7714, allocations: 3.029 MB / 1.179 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.7721, allocations: 39.81 kB / 1.179 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.774, allocations: 0.6842 MB / 1.18 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.7757, allocations: 0.7235 MB / 1.18 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.7772, allocations: 0.6408 MB / 1.181 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.7802, allocations: 2.742 MB / 1.184 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.7834, allocations: 2.538 MB / 1.186 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.7852, allocations: 1.137 MB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.7873, allocations: 1.383 MB / 1.189 GB, free: 12.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00048/0.7878, allocations: 216 kB / 1.189 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.789, allocations: 491.4 kB / 1.189 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.7903, allocations: 0.9785 MB / 1.19 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/0.792, allocations: 1.019 MB / 1.191 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.7957, allocations: 3.419 MB / 1.195 GB, free: 6.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7958, allocations: 0 / 1.195 GB, free: 6.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7958, allocations: 0 / 1.195 GB, free: 6.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.711e-05/0.7959, allocations: 4 kB / 1.195 GB, free: 6.652 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004888/0.8008, allocations: 1.988 MB / 1.196 GB, free: 4.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8008, allocations: 8.922 kB / 1.196 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005653/0.8014, allocations: 252.7 kB / 1.197 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.8074, allocations: 0.8853 MB / 1.198 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.8098, allocations: 1.173 MB / 1.199 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.8099, allocations: 107.3 kB / 1.199 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.8104, allocations: 148.3 kB / 1.199 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/0.8154, allocations: 3.017 MB / 1.202 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.8155, allocations: 4 kB / 1.202 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.8157, allocations: 59.98 kB / 1.202 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.8159, allocations: 179 kB / 1.202 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.8201, allocations: 2.611 MB / 1.205 GB, free: 12.02 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.8355, allocations: 13.51 MB / 1.218 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.8374, allocations: 1.294 MB / 1.219 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.8388, allocations: 1.05 MB / 1.22 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.8389, allocations: 12.64 kB / 1.22 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.839, allocations: 47.16 kB / 1.22 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.839, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.07423/0.9132, allocations: 19.41 MB / 1.239 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.9133, allocations: 64.72 kB / 1.239 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.9146, allocations: 0.9223 MB / 1.24 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.9148, allocations: 49.64 kB / 1.24 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.9153, allocations: 0.754 MB / 1.241 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.9157, allocations: 0.4996 MB / 1.241 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005965/0.9164, allocations: 295.5 kB / 1.242 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9165, allocations: 349.9 kB / 1.242 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.9184, allocations: 1.343 MB / 1.243 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.9205, allocations: 1.651 MB / 1.245 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.9248, allocations: 3.083 MB / 1.248 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.9248, allocations: 4 kB / 1.248 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01218/0.937, allocations: 5.648 MB / 1.254 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.9371, allocations: 12 kB / 1.254 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.9371, allocations: 15.98 kB / 1.254 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008887/0.946, allocations: 2.713 MB / 1.256 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.9469, allocations: 195.7 kB / 1.256 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03632/0.9832, allocations: 25.73 MB / 1.282 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.9848, allocations: 99.94 kB / 1.282 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.985, allocations: 52.5 kB / 1.282 GB, free: 11.07 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.9862, allocations: 0.7354 MB / 1.282 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.9866, allocations: 127.2 kB / 1.282 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.9982, allocations: 5.388 MB / 1.288 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.9982, allocations: 19.94 kB / 1.288 GB, free: 4.762 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.9983, allocations: 20 kB / 1.288 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.9983, allocations: 3.984 kB / 1.288 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.015, allocations: 8.705 MB / 1.296 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.015, allocations: 4 kB / 1.296 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/1.015, allocations: 119.8 kB / 1.296 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008456/1.024, allocations: 2.575 MB / 1.299 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.024, allocations: 31.98 kB / 1.299 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03391/1.058, allocations: 24.19 MB / 1.323 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.058, allocations: 4 kB / 1.323 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.069, allocations: 5.257 MB / 1.328 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.07, allocations: 492.2 kB / 1.328 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/1.07, allocations: 28 kB / 1.328 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/1.071, allocations: 79.89 kB / 1.328 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/1.072, allocations: 121 kB / 1.328 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.072, allocations: 36 kB / 1.328 GB, free: 10.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009117/1.073, allocations: 0.6434 MB / 1.329 GB, free: 9.676 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.4e-07/1.073, allocations: 4 kB / 1.329 GB, free: 9.672 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002473/1.075, allocations: 0.7188 MB / 1.33 GB, free: 8.953 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01117/1.086, allocations: 5.84 MB / 1.335 GB, free: 3.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007616/1.094, allocations: 4.219 MB / 1.34 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.094, allocations: 0 / 1.34 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005576/1.1, allocations: 2.721 MB / 1.342 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.101, allocations: 220 kB / 1.342 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/1.139, allocations: 21.46 MB / 1.363 GB, free: 5.836 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/1.141, allocations: 1.7 MB / 1.365 GB, free: 4.105 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009884/1.142, allocations: 329.4 kB / 1.365 GB, free: 3.781 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/1.143, allocations: 0.5305 MB / 1.366 GB, free: 3.25 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/1.143, allocations: 0 / 1.366 GB, free: 3.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09495/1.238, allocations: 52.71 MB / 1.417 GB, free: 14.87 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.44, allocations: 64 / 1.417 GB, free: 14.87 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches