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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006744/0.006744, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001724/0.001724, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.83 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2646, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01145/0.2761, allocations: 10.02 MB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004818/0.281, allocations: 3.041 MB / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.2816, allocations: 39.81 kB / 1.233 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.2834, allocations: 0.6876 MB / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.2849, allocations: 0.7274 MB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2863, allocations: 0.6356 MB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.289, allocations: 2.738 MB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.2917, allocations: 2.527 MB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.2932, allocations: 1.145 MB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.2951, allocations: 1.379 MB / 1.242 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.2956, allocations: 216 kB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.2965, allocations: 495.4 kB / 1.243 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2976, allocations: 0.9785 MB / 1.244 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.2989, allocations: 1.015 MB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.3021, allocations: 3.415 MB / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3021, allocations: 0 / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3021, allocations: 0 / 1.248 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.132e-05/0.3022, allocations: 4 kB / 1.248 GB, free: 1.457 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.5638/0.866, allocations: 1.984 MB / 1.25 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.8661, allocations: 10.03 kB / 1.25 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000385/0.8665, allocations: 250.4 kB / 1.25 GB, free: 28.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.8724, allocations: 0.8933 MB / 1.251 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.8749, allocations: 1.167 MB / 1.252 GB, free: 28.42 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.875, allocations: 111.7 kB / 1.252 GB, free: 28.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.8753, allocations: 143.2 kB / 1.253 GB, free: 28.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.8797, allocations: 3.02 MB / 1.256 GB, free: 28.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.8797, allocations: 10.05 kB / 1.256 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.8799, allocations: 62.75 kB / 1.256 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.8801, allocations: 176.2 kB / 1.256 GB, free: 28.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.8837, allocations: 2.608 MB / 1.258 GB, free: 28.07 MB / 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.01463/0.8983, allocations: 13.49 MB / 1.271 GB, free: 19.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.9005, allocations: 1.313 MB / 1.273 GB, free: 19.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.9021, allocations: 1.048 MB / 1.274 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.9022, allocations: 13.12 kB / 1.274 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.9022, allocations: 41.56 kB / 1.274 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.9022, allocations: 0 / 1.274 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07497/0.9772, allocations: 19.42 MB / 1.293 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.9773, allocations: 74.98 kB / 1.293 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.9789, allocations: 0.9207 MB / 1.294 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.9791, allocations: 45.8 kB / 1.294 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.9797, allocations: 0.7491 MB / 1.295 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.9802, allocations: 0.5001 MB / 1.295 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/0.981, allocations: 293.1 kB / 1.295 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9811, allocations: 357.8 kB / 1.296 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.9833, allocations: 1.334 MB / 1.297 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.9854, allocations: 1.66 MB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.9894, allocations: 3.082 MB / 1.302 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.9894, allocations: 3.219 kB / 1.302 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01112/1.001, allocations: 5.65 MB / 1.307 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.001, allocations: 11.97 kB / 1.307 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.001, allocations: 12.59 kB / 1.307 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008349/1.009, allocations: 2.716 MB / 1.31 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/1.01, allocations: 191.3 kB / 1.31 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03423/1.044, allocations: 25.74 MB / 1.335 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.046, allocations: 99.94 kB / 1.335 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.046, allocations: 52 kB / 1.335 GB, free: 4.773 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.001296/1.047, allocations: 0.7316 MB / 1.336 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/1.048, allocations: 119.2 kB / 1.336 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.059, allocations: 5.399 MB / 1.341 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.059, allocations: 12 kB / 1.341 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/1.059, allocations: 20 kB / 1.341 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.059, allocations: 11.97 kB / 1.341 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.075, allocations: 8.689 MB / 1.35 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/1.075, allocations: 4 kB / 1.35 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/1.076, allocations: 123.8 kB / 1.35 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008325/1.084, allocations: 2.583 MB / 1.353 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.084, allocations: 29.16 kB / 1.353 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03271/1.117, allocations: 24.18 MB / 1.376 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.117, allocations: 4 kB / 1.376 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/1.128, allocations: 5.261 MB / 1.381 GB, free: 4.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.129, allocations: 498.4 kB / 1.382 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.13, allocations: 24 kB / 1.382 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.131, allocations: 87.89 kB / 1.382 GB, free: 4.188 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/1.132, allocations: 117 kB / 1.382 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.132, allocations: 36 kB / 1.382 GB, free: 4.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001055/1.133, allocations: 0.6512 MB / 1.383 GB, free: 3.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.133, allocations: 0 / 1.383 GB, free: 3.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002946/1.136, allocations: 0.7262 MB / 1.383 GB, free: 2.664 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.01178/1.148, allocations: 5.836 MB / 1.389 GB, free: 12.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007405/1.155, allocations: 4.214 MB / 1.393 GB, free: 8.477 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.155, allocations: 0 / 1.393 GB, free: 8.477 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/1.16, allocations: 2.719 MB / 1.396 GB, free: 5.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.162, allocations: 228 kB / 1.396 GB, free: 5.504 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/1.199, allocations: 21.44 MB / 1.417 GB, free: 15.6 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001785/1.201, allocations: 1.704 MB / 1.419 GB, free: 13.87 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008197/1.202, allocations: 334 kB / 1.419 GB, free: 13.54 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/1.203, allocations: 0.5305 MB / 1.419 GB, free: 13.01 MB / 1.107 GB Notification: Performance of SimCode: time 6.91e-07/1.203, allocations: 0 / 1.419 GB, free: 13.01 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/1.288, allocations: 52.71 MB / 1.471 GB, free: 8.656 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.33, allocations: 2 kB / 1.471 GB, free: 8.656 MB / 1.154 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 50 --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