Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.00762/0.00762, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002108/0.002107, allocations: 197.3 kB / 16.67 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6919, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02838/0.7203, allocations: 23.42 MB / 1.243 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7321, allocations: 6.48 MB / 1.249 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.734, allocations: 99.44 kB / 1.249 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.7382, allocations: 1.491 MB / 1.251 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004452/0.7426, allocations: 1.824 MB / 1.253 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.7464, allocations: 1.468 MB / 1.254 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008549/0.755, allocations: 6.912 MB / 1.261 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.7656, allocations: 6.937 MB / 1.268 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.7711, allocations: 2.851 MB / 1.27 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006337/0.7775, allocations: 3.466 MB / 1.274 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002265/0.7798, allocations: 0.5312 MB / 1.274 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.7835, allocations: 1.174 MB / 1.276 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003723/0.7872, allocations: 2.468 MB / 1.278 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004292/0.7915, allocations: 2.532 MB / 1.28 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009436/0.801, allocations: 8.538 MB / 1.289 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.801, allocations: 0 / 1.289 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.801, allocations: 0 / 1.289 GB, free: 11.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001404/0.8011, allocations: 0 / 1.289 GB, free: 11.56 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008559/0.8097, allocations: 4.551 MB / 1.293 GB, free: 6.934 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.8098, allocations: 8.031 kB / 1.293 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008201/0.8106, allocations: 0.5714 MB / 1.294 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.8193, allocations: 1.703 MB / 1.295 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005603/0.8249, allocations: 2.709 MB / 1.298 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.8252, allocations: 279.7 kB / 1.298 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009367/0.8262, allocations: 356.3 kB / 1.299 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.8391, allocations: 7.49 MB / 1.306 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.8392, allocations: 11.88 kB / 1.306 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004486/0.8397, allocations: 155.9 kB / 1.306 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000644/0.8403, allocations: 487.3 kB / 1.307 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.8505, allocations: 5.701 MB / 1.312 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.8891, allocations: 31.56 MB / 1.343 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.8924, allocations: 2.083 MB / 1.345 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/0.8956, allocations: 2.182 MB / 1.347 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.8958, allocations: 13.31 kB / 1.347 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.8958, allocations: 55.81 kB / 1.347 GB, free: 12.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 2.956e-06/0.8958, allocations: 0 / 1.347 GB, free: 12.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.3207/1.217, allocations: 77.07 MB / 1.422 GB, free: 15.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.217, allocations: 81.34 kB / 1.423 GB, free: 15.15 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002491/1.219, allocations: 1.682 MB / 1.424 GB, free: 13.43 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004702/1.22, allocations: 65.7 kB / 1.424 GB, free: 13.36 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.221, allocations: 1.792 MB / 1.426 GB, free: 11.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.222, allocations: 0.8946 MB / 1.427 GB, free: 10.64 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.223, allocations: 489.3 kB / 1.427 GB, free: 10.16 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.223, allocations: 305.1 kB / 1.428 GB, free: 9.859 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/1.228, allocations: 2.726 MB / 1.43 GB, free: 7.129 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/1.232, allocations: 3.332 MB / 1.434 GB, free: 3.555 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009448/1.242, allocations: 6.397 MB / 1.44 GB, free: 12.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.242, allocations: 4 kB / 1.44 GB, free: 12.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03525/1.277, allocations: 14.69 MB / 1.454 GB, free: 14.18 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/1.277, allocations: 16 kB / 1.454 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/1.277, allocations: 19.98 kB / 1.454 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03132/1.309, allocations: 9.232 MB / 1.463 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.31, allocations: 307.4 kB / 1.463 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08821/1.398, allocations: 52.41 MB / 1.515 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/1.401, allocations: 223.7 kB / 1.515 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/1.401, allocations: 96 kB / 1.515 GB, free: 14.98 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002723/1.404, allocations: 1.579 MB / 1.517 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/1.405, allocations: 266.5 kB / 1.517 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03544/1.44, allocations: 14.76 MB / 1.531 GB, free: 14.31 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.44, allocations: 24 kB / 1.531 GB, free: 14.29 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/1.44, allocations: 48 kB / 1.531 GB, free: 14.24 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/1.44, allocations: 15.95 kB / 1.531 GB, free: 14.23 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04485/1.485, allocations: 20.51 MB / 1.551 GB, free: 9.512 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/1.485, allocations: 4 kB / 1.551 GB, free: 9.508 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/1.486, allocations: 163.8 kB / 1.551 GB, free: 9.348 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03048/1.517, allocations: 9.006 MB / 1.56 GB, free: 320 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.517, allocations: 52 kB / 1.56 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5973/2.114, allocations: 51.96 MB / 1.611 GB, free: 296.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/2.114, allocations: 4 kB / 1.611 GB, free: 296 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/2.142, allocations: 14.38 MB / 1.625 GB, free: 282.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/2.144, allocations: 0.8546 MB / 1.626 GB, free: 282 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007863/2.145, allocations: 54.05 kB / 1.626 GB, free: 281.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002411/2.147, allocations: 211.7 kB / 1.626 GB, free: 281.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/2.149, allocations: 238.4 kB / 1.626 GB, free: 281.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/2.149, allocations: 64 kB / 1.626 GB, free: 281.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001559/2.151, allocations: 1.129 MB / 1.628 GB, free: 280.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.01e-07/2.151, allocations: 0 / 1.628 GB, free: 280.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004409/2.155, allocations: 1.609 MB / 1.629 GB, free: 278.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0277/2.183, allocations: 14.99 MB / 1.644 GB, free: 263.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02017/2.203, allocations: 10.58 MB / 1.654 GB, free: 252.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.203, allocations: 0 / 1.654 GB, free: 252.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01557/2.219, allocations: 7.35 MB / 1.661 GB, free: 245.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/2.222, allocations: 0.5582 MB / 1.662 GB, free: 245 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08572/2.307, allocations: 50.95 MB / 1.712 GB, free: 193 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003467/2.311, allocations: 3.224 MB / 1.715 GB, free: 189.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009451/2.312, allocations: 387.3 kB / 1.715 GB, free: 189.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/2.313, allocations: 1.472 MB / 1.717 GB, free: 187.9 MB / 1.279 GB Notification: Performance of SimCode: time 7.91e-07/2.313, allocations: 0 / 1.717 GB, free: 187.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1571/2.47, allocations: 120.9 MB / 1.835 GB, free: 67.52 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/16.5, allocations: 3.859 kB / 1.835 GB, free: 67.52 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches