Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007121/0.007121, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.00187/0.00187, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01336/0.3027, allocations: 10.02 MB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005607/0.3084, allocations: 3.052 MB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005426/0.309, allocations: 31.88 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3108, allocations: 0.688 MB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.3123, allocations: 0.6921 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3138, allocations: 0.6387 MB / 1.235 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.3169, allocations: 2.738 MB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.3199, allocations: 2.523 MB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.3215, allocations: 1.133 MB / 1.241 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.3234, allocations: 1.375 MB / 1.243 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.3237, allocations: 216 kB / 1.243 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.3247, allocations: 495.3 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.3257, allocations: 0.9824 MB / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.3268, allocations: 1.023 MB / 1.245 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.3303, allocations: 3.411 MB / 1.248 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3304, allocations: 0 / 1.248 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3304, allocations: 0 / 1.248 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.908e-05/0.3304, allocations: 0 / 1.248 GB, free: 1.141 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.4916/0.822, allocations: 1.984 MB / 1.25 GB, free: 29.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8221, allocations: 10.38 kB / 1.25 GB, free: 29.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003117/0.8224, allocations: 248.8 kB / 1.251 GB, free: 29.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/0.8282, allocations: 0.8956 MB / 1.252 GB, free: 28.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.8301, allocations: 1.174 MB / 1.253 GB, free: 28.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.8301, allocations: 109.9 kB / 1.253 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.8304, allocations: 145.2 kB / 1.253 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.8346, allocations: 3.011 MB / 1.256 GB, free: 28.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.8347, allocations: 14.39 kB / 1.256 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.8349, allocations: 63.97 kB / 1.256 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.8351, allocations: 176.5 kB / 1.256 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.839, allocations: 2.605 MB / 1.259 GB, free: 28.34 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.01376/0.8528, allocations: 13.49 MB / 1.272 GB, free: 19.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.8549, allocations: 1.31 MB / 1.273 GB, free: 18.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.8564, allocations: 1.049 MB / 1.274 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.8565, allocations: 12.72 kB / 1.274 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.8565, allocations: 39.69 kB / 1.274 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.504e-06/0.8565, allocations: 0 / 1.274 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139): time 0.07255/0.9291, allocations: 19.42 MB / 1.293 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.9291, allocations: 65.94 kB / 1.293 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.9302, allocations: 0.9216 MB / 1.294 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.9303, allocations: 50.11 kB / 1.294 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.9306, allocations: 0.7505 MB / 1.295 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.931, allocations: 0.4984 MB / 1.295 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/0.9315, allocations: 290.2 kB / 1.296 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.9316, allocations: 357.1 kB / 1.296 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.9333, allocations: 1.339 MB / 1.297 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.9352, allocations: 1.661 MB / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.9388, allocations: 3.086 MB / 1.302 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.9389, allocations: 5.094 kB / 1.302 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01059/0.9495, allocations: 5.639 MB / 1.307 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9495, allocations: 9.125 kB / 1.307 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.9495, allocations: 9.156 kB / 1.307 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008183/0.9577, allocations: 2.735 MB / 1.31 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.9584, allocations: 191.4 kB / 1.31 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03449/0.9929, allocations: 25.74 MB / 1.335 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.9946, allocations: 95.95 kB / 1.336 GB, free: 4.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.9948, allocations: 55.98 kB / 1.336 GB, free: 4.488 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.00122/0.996, allocations: 0.7359 MB / 1.336 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.9963, allocations: 123.2 kB / 1.336 GB, free: 3.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/1.008, allocations: 5.392 MB / 1.342 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/1.008, allocations: 16 kB / 1.342 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/1.008, allocations: 19.98 kB / 1.342 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/1.008, allocations: 3.984 kB / 1.342 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.025, allocations: 8.693 MB / 1.35 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.026, allocations: 8.094 kB / 1.35 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/1.026, allocations: 111.9 kB / 1.35 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009197/1.035, allocations: 2.58 MB / 1.353 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/1.035, allocations: 35.94 kB / 1.353 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03778/1.073, allocations: 24.18 MB / 1.377 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.073, allocations: 7.938 kB / 1.377 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.085, allocations: 5.253 MB / 1.382 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.086, allocations: 0.492 MB / 1.382 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/1.087, allocations: 28 kB / 1.382 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/1.088, allocations: 75.91 kB / 1.382 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005664/1.088, allocations: 125 kB / 1.382 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.088, allocations: 36.38 kB / 1.382 GB, free: 3.746 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009214/1.089, allocations: 0.6434 MB / 1.383 GB, free: 3.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.383 GB, free: 3.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002409/1.092, allocations: 0.7188 MB / 1.384 GB, free: 2.383 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.01205/1.104, allocations: 5.839 MB / 1.389 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00777/1.111, allocations: 4.218 MB / 1.394 GB, free: 8.188 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.112, allocations: 0 / 1.394 GB, free: 8.188 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005707/1.117, allocations: 2.723 MB / 1.396 GB, free: 5.414 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.119, allocations: 217.4 kB / 1.396 GB, free: 5.215 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/1.159, allocations: 21.46 MB / 1.417 GB, free: 15.3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.161, allocations: 1.7 MB / 1.419 GB, free: 13.57 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008101/1.162, allocations: 334.8 kB / 1.419 GB, free: 13.25 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/1.163, allocations: 0.5305 MB / 1.42 GB, free: 12.71 MB / 1.107 GB Notification: Performance of SimCode: time 7.91e-07/1.163, allocations: 0 / 1.42 GB, free: 12.71 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/1.286, allocations: 52.72 MB / 1.471 GB, free: 8.363 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.7, allocations: 2.75 kB / 1.471 GB, free: 8.363 MB / 1.154 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches