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.005148/0.005148, allocations: 100 kB / 15.73 MB, free: 5.965 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.001198/0.001198, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.769, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0116/0.7806, allocations: 10.04 MB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004814/0.7854, allocations: 3.033 MB / 1.179 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.7859, allocations: 35.81 kB / 1.179 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7876, allocations: 0.6815 MB / 1.18 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.7889, allocations: 0.6922 MB / 1.18 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.7902, allocations: 0.6409 MB / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.7927, allocations: 2.734 MB / 1.184 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.7953, allocations: 2.533 MB / 1.186 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.7966, allocations: 1.13 MB / 1.187 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.7982, allocations: 1.383 MB / 1.189 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.7985, allocations: 216 kB / 1.189 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.7993, allocations: 487.4 kB / 1.189 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.8002, allocations: 0.9785 MB / 1.19 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009829/0.8012, allocations: 1.015 MB / 1.191 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.804, allocations: 3.416 MB / 1.194 GB, free: 6.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.8041, allocations: 3.984 kB / 1.194 GB, free: 6.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8041, allocations: 0 / 1.194 GB, free: 6.613 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.477e-05/0.8041, allocations: 4 kB / 1.194 GB, free: 6.609 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.003543/0.8077, allocations: 1.94 MB / 1.196 GB, free: 4.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8077, allocations: 12.92 kB / 1.196 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003116/0.808, allocations: 252.7 kB / 1.197 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006037/0.8141, allocations: 0.8805 MB / 1.197 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.8166, allocations: 1.165 MB / 1.199 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/0.8167, allocations: 103.3 kB / 1.199 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004442/0.8171, allocations: 156.2 kB / 1.199 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/0.8216, allocations: 3.013 MB / 1.202 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.8216, allocations: 15.88 kB / 1.202 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.8218, allocations: 63.95 kB / 1.202 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.822, allocations: 179 kB / 1.202 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.8258, allocations: 2.604 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.01533/0.8411, allocations: 13.48 MB / 1.218 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.843, allocations: 1.292 MB / 1.219 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.8444, allocations: 1.054 MB / 1.22 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.375e-05/0.8445, allocations: 12.64 kB / 1.22 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.8445, allocations: 39.22 kB / 1.22 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.8445, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.07734/0.9219, allocations: 19.39 MB / 1.239 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.922, allocations: 68.72 kB / 1.239 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.9231, allocations: 0.9183 MB / 1.24 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.9233, allocations: 53.64 kB / 1.24 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.9237, allocations: 0.7283 MB / 1.241 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.9241, allocations: 489 kB / 1.241 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/0.9247, allocations: 287.5 kB / 1.242 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9248, allocations: 353.9 kB / 1.242 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.9267, allocations: 1.335 MB / 1.243 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.9287, allocations: 1.659 MB / 1.245 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/0.9327, allocations: 3.097 MB / 1.248 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.9328, allocations: 0 / 1.248 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0118/0.9446, allocations: 5.629 MB / 1.253 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.9446, allocations: 14.94 kB / 1.253 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.9446, allocations: 12 kB / 1.253 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009035/0.9537, allocations: 2.721 MB / 1.256 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/0.9545, allocations: 195.7 kB / 1.256 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03644/0.991, allocations: 25.71 MB / 1.281 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9925, allocations: 95.89 kB / 1.281 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.9928, allocations: 59.98 kB / 1.281 GB, free: 11.19 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.001347/0.9941, allocations: 0.7453 MB / 1.282 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.9944, allocations: 114.6 kB / 1.282 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.006, allocations: 5.388 MB / 1.288 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.006, allocations: 16 kB / 1.288 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/1.006, allocations: 16 kB / 1.288 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.006, allocations: 15.97 kB / 1.288 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/1.023, allocations: 8.693 MB / 1.296 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.023, allocations: 4 kB / 1.296 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/1.023, allocations: 116.2 kB / 1.296 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008558/1.032, allocations: 2.585 MB / 1.299 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.032, allocations: 32 kB / 1.299 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03397/1.066, allocations: 24.15 MB / 1.322 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.066, allocations: 7.938 kB / 1.322 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.077, allocations: 5.245 MB / 1.327 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.078, allocations: 487.5 kB / 1.328 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/1.078, allocations: 35.98 kB / 1.328 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.079, allocations: 75.91 kB / 1.328 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/1.08, allocations: 121 kB / 1.328 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.08, allocations: 40 kB / 1.328 GB, free: 10.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008799/1.081, allocations: 0.6395 MB / 1.329 GB, free: 9.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 1.329 GB, free: 9.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002327/1.083, allocations: 0.7267 MB / 1.329 GB, free: 9.109 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.01103/1.094, allocations: 5.825 MB / 1.335 GB, free: 3.191 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006944/1.101, allocations: 4.221 MB / 1.339 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.101, allocations: 4 kB / 1.339 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005159/1.106, allocations: 2.705 MB / 1.342 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.108, allocations: 220.9 kB / 1.342 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0371/1.145, allocations: 21.4 MB / 1.363 GB, free: 6.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/1.147, allocations: 1.7 MB / 1.365 GB, free: 4.359 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007734/1.147, allocations: 329.4 kB / 1.365 GB, free: 4.035 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/1.148, allocations: 0.5344 MB / 1.366 GB, free: 3.5 MB / 1.092 GB Notification: Performance of SimCode: time 1.463e-06/1.148, allocations: 0 / 1.366 GB, free: 3.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.252, allocations: 52.69 MB / 1.417 GB, free: 15.13 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.53, allocations: 4 kB / 1.417 GB, free: 15.13 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