Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_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_latest_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.00463/0.00463, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 199.2 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 76.09 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2954, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01238/0.3078, allocations: 10.01 MB / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5398/0.8476, allocations: 3.027 MB / 1.254 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.8482, allocations: 36.62 kB / 1.254 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.8498, allocations: 0.689 MB / 1.255 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.8511, allocations: 0.6916 MB / 1.256 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.8524, allocations: 0.6355 MB / 1.256 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.8553, allocations: 2.746 MB / 1.259 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.858, allocations: 2.527 MB / 1.261 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.8597, allocations: 1.125 MB / 1.262 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.8612, allocations: 1.381 MB / 1.264 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.8615, allocations: 217.1 kB / 1.264 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.8624, allocations: 493.9 kB / 1.264 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008789/0.8633, allocations: 0.9834 MB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009832/0.8643, allocations: 1.016 MB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.8677, allocations: 3.425 MB / 1.27 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8677, allocations: 0 / 1.27 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8678, allocations: 0 / 1.27 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.272e-05/0.8678, allocations: 0 / 1.27 GB, free: 4.301 MB / 0.9981 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.003438/0.8713, allocations: 1.988 MB / 1.272 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.8713, allocations: 8.156 kB / 1.272 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002936/0.8716, allocations: 252.5 kB / 1.272 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005758/0.8774, allocations: 0.8915 MB / 1.273 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.8795, allocations: 1.169 MB / 1.274 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.8796, allocations: 116 kB / 1.274 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.8799, allocations: 139.5 kB / 1.274 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/0.8844, allocations: 3.018 MB / 1.277 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.8844, allocations: 7.469 kB / 1.277 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.8846, allocations: 61.42 kB / 1.277 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/0.8848, allocations: 176.8 kB / 1.277 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.8888, allocations: 2.607 MB / 1.28 GB, free: 12 kB / 0.9981 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.01702/0.9058, allocations: 13.51 MB / 1.293 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.9079, allocations: 1.298 MB / 1.294 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.9094, allocations: 1.047 MB / 1.295 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.9095, allocations: 11.62 kB / 1.295 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.9096, allocations: 47.28 kB / 1.295 GB, free: 5.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/0.9096, allocations: 0 / 1.295 GB, free: 5.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=139): time 0.07765/0.9872, allocations: 19.41 MB / 1.314 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.9873, allocations: 71.48 kB / 1.315 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.9887, allocations: 0.9169 MB / 1.315 GB, free: 4 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.9889, allocations: 46.02 kB / 1.315 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.9895, allocations: 0.7574 MB / 1.316 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.99, allocations: 0.4988 MB / 1.317 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/0.9906, allocations: 293.3 kB / 1.317 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.9908, allocations: 357.5 kB / 1.317 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.9928, allocations: 1.334 MB / 1.319 GB, free: 13.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.995, allocations: 1.657 MB / 1.32 GB, free: 12.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004323/0.9994, allocations: 3.091 MB / 1.323 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.9994, allocations: 2.844 kB / 1.323 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01241/1.012, allocations: 5.646 MB / 1.329 GB, free: 7.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.012, allocations: 12.69 kB / 1.329 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.012, allocations: 8.656 kB / 1.329 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00924/1.021, allocations: 2.716 MB / 1.331 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/1.022, allocations: 187.5 kB / 1.332 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03831/1.06, allocations: 25.75 MB / 1.357 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.062, allocations: 91.95 kB / 1.357 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.062, allocations: 60.12 kB / 1.357 GB, free: 100 kB / 1.045 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.001389/1.064, allocations: 0.7392 MB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/1.064, allocations: 123.2 kB / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.076, allocations: 5.396 MB / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.076, allocations: 12 kB / 1.363 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-05/1.076, allocations: 20 kB / 1.363 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/1.076, allocations: 7.969 kB / 1.363 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/1.094, allocations: 8.695 MB / 1.372 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.094, allocations: 4 kB / 1.372 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/1.094, allocations: 116.3 kB / 1.372 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009042/1.103, allocations: 2.588 MB / 1.374 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/1.104, allocations: 32 kB / 1.374 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03686/1.141, allocations: 24.16 MB / 1.398 GB, free: 5.504 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.141, allocations: 7.938 kB / 1.398 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.152, allocations: 5.261 MB / 1.403 GB, free: 160 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.153, allocations: 484.2 kB / 1.403 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.154, allocations: 35.98 kB / 1.403 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.155, allocations: 71.91 kB / 1.404 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/1.155, allocations: 121 kB / 1.404 GB, free: 15.44 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.156, allocations: 43.98 kB / 1.404 GB, free: 15.39 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009313/1.156, allocations: 0.6434 MB / 1.404 GB, free: 14.75 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.7e-07/1.156, allocations: 0 / 1.404 GB, free: 14.75 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002464/1.159, allocations: 0.7227 MB / 1.405 GB, free: 14.03 MB / 1.107 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.01202/1.171, allocations: 5.851 MB / 1.411 GB, free: 8.086 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007744/1.179, allocations: 4.218 MB / 1.415 GB, free: 3.82 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.179, allocations: 0 / 1.415 GB, free: 3.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00569/1.184, allocations: 2.719 MB / 1.418 GB, free: 1.051 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.186, allocations: 218.8 kB / 1.418 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.227, allocations: 21.45 MB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.229, allocations: 1.704 MB / 1.44 GB, free: 9.203 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008286/1.23, allocations: 325.4 kB / 1.441 GB, free: 8.883 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/1.231, allocations: 0.5305 MB / 1.441 GB, free: 8.352 MB / 1.139 GB Notification: Performance of SimCode: time 7.62e-07/1.231, allocations: 0 / 1.441 GB, free: 8.352 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.331, allocations: 52.73 MB / 1.493 GB, free: 3.977 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.54, allocations: 8.5 kB / 1.493 GB, free: 3.969 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches