Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007911/0.007911, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001886/0.001886, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 71.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7684, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02686/0.7953, allocations: 23.43 MB / 1.11 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.8089, allocations: 6.473 MB / 1.117 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003923/0.8129, allocations: 102 kB / 1.117 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005312/0.8182, allocations: 1.491 MB / 1.118 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.8246, allocations: 1.818 MB / 1.12 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.8296, allocations: 1.471 MB / 1.121 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.84, allocations: 6.909 MB / 1.128 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.8517, allocations: 6.939 MB / 1.135 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.8576, allocations: 2.843 MB / 1.138 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00754/0.8651, allocations: 3.477 MB / 1.141 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002288/0.8674, allocations: 0.5277 MB / 1.142 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/0.8725, allocations: 1.18 MB / 1.143 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005726/0.8783, allocations: 2.46 MB / 1.145 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007626/0.8859, allocations: 2.535 MB / 1.148 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.9004, allocations: 8.521 MB / 1.156 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.9004, allocations: 1.344 kB / 1.156 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9004, allocations: 0 / 1.156 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003259/0.9007, allocations: 0 / 1.156 GB, free: 14.43 MB / 0.9044 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.01517/0.9159, allocations: 4.429 MB / 1.16 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.916, allocations: 9.625 kB / 1.16 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002244/0.9182, allocations: 0.5758 MB / 1.161 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.9286, allocations: 1.686 MB / 1.163 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007706/0.9363, allocations: 2.687 MB / 1.165 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.9367, allocations: 279 kB / 1.165 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.9385, allocations: 364.3 kB / 1.166 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.9571, allocations: 7.493 MB / 1.173 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.9573, allocations: 13.28 kB / 1.173 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.9588, allocations: 157.9 kB / 1.173 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007819/0.9596, allocations: 489.7 kB / 1.174 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.9717, allocations: 5.695 MB / 1.179 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04317/1.015, allocations: 31.5 MB / 1.21 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/1.018, allocations: 2.093 MB / 1.212 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/1.021, allocations: 2.182 MB / 1.214 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.021, allocations: 13.31 kB / 1.214 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.021, allocations: 47.88 kB / 1.214 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/1.021, allocations: 0 / 1.214 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.3244/1.346, allocations: 77.02 MB / 1.29 GB, free: 11.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.346, allocations: 77.41 kB / 1.29 GB, free: 11.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/1.349, allocations: 1.677 MB / 1.291 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005569/1.349, allocations: 65.7 kB / 1.291 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.351, allocations: 1.751 MB / 1.293 GB, free: 8.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.352, allocations: 0.8471 MB / 1.294 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/1.354, allocations: 489.1 kB / 1.294 GB, free: 6.906 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/1.354, allocations: 305.1 kB / 1.295 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/1.358, allocations: 2.73 MB / 1.297 GB, free: 3.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/1.362, allocations: 3.328 MB / 1.3 GB, free: 300 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008523/1.371, allocations: 6.397 MB / 1.307 GB, free: 9.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/1.371, allocations: 4 kB / 1.307 GB, free: 9.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03428/1.405, allocations: 14.68 MB / 1.321 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/1.405, allocations: 12 kB / 1.321 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/1.405, allocations: 20 kB / 1.321 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02995/1.435, allocations: 9.244 MB / 1.33 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.436, allocations: 307.4 kB / 1.33 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08214/1.519, allocations: 52.33 MB / 1.382 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.522, allocations: 215.7 kB / 1.382 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005393/1.522, allocations: 104 kB / 1.382 GB, free: 11.79 MB / 1.123 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.003245/1.526, allocations: 1.591 MB / 1.383 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008063/1.527, allocations: 245 kB / 1.384 GB, free: 9.945 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/1.561, allocations: 14.75 MB / 1.398 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.561, allocations: 24 kB / 1.398 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001515/1.561, allocations: 44 kB / 1.398 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/1.561, allocations: 11.95 kB / 1.398 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/1.607, allocations: 20.51 MB / 1.418 GB, free: 6.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/1.607, allocations: 8 kB / 1.418 GB, free: 6.336 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/1.608, allocations: 160.6 kB / 1.418 GB, free: 6.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03028/1.638, allocations: 9.012 MB / 1.427 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006119/1.639, allocations: 51.94 kB / 1.427 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0835/1.722, allocations: 51.9 MB / 1.478 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.722, allocations: 11.94 kB / 1.478 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03294/1.755, allocations: 14.36 MB / 1.492 GB, free: 9.777 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003017/1.758, allocations: 0.8493 MB / 1.493 GB, free: 8.906 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.759, allocations: 51.98 kB / 1.493 GB, free: 8.855 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.762, allocations: 208 kB / 1.493 GB, free: 8.652 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001759/1.764, allocations: 241.5 kB / 1.493 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/1.765, allocations: 64 kB / 1.493 GB, free: 8.355 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002254/1.767, allocations: 1.133 MB / 1.494 GB, free: 7.199 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.11e-07/1.767, allocations: 0 / 1.494 GB, free: 7.199 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006078/1.773, allocations: 1.617 MB / 1.496 GB, free: 5.582 MB / 1.232 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.03361/1.807, allocations: 14.97 MB / 1.511 GB, free: 6.457 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.025/1.832, allocations: 10.55 MB / 1.521 GB, free: 11.83 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.832, allocations: 4 kB / 1.521 GB, free: 11.83 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/1.851, allocations: 7.307 MB / 1.528 GB, free: 4.449 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/1.855, allocations: 0.5526 MB / 1.529 GB, free: 3.906 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6273/2.483, allocations: 50.84 MB / 1.578 GB, free: 437.4 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005508/2.488, allocations: 3.224 MB / 1.581 GB, free: 436.6 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001241/2.489, allocations: 386.2 kB / 1.582 GB, free: 436.5 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/2.491, allocations: 1.462 MB / 1.583 GB, free: 436.5 MB / 1.311 GB Notification: Performance of SimCode: time 8.92e-07/2.491, allocations: 0.875 kB / 1.583 GB, free: 436.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/2.665, allocations: 120.8 MB / 1.701 GB, free: 369.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/16.62, allocations: 6.5 kB / 1.701 GB, free: 369.6 MB / 1.311 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches