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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008793/0.0008794, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005429/0.005428, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 16 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5464, allocations: 142.4 MB / 0.9552 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01947/0.5659, allocations: 22.58 MB / 0.9772 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009721/0.5756, allocations: 6.449 MB / 0.9835 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.5774, allocations: 76.84 kB / 0.9836 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.5789, allocations: 468.7 kB / 0.9841 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.583, allocations: 1.747 MB / 0.9858 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.5859, allocations: 1.202 MB / 0.9869 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009523/0.5954, allocations: 10.61 MB / 0.9973 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.6061, allocations: 8.057 MB / 1.005 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.6094, allocations: 2.074 MB / 1.007 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/0.614, allocations: 3.193 MB / 1.01 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009604/0.6149, allocations: 244 kB / 1.011 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.6177, allocations: 1.061 MB / 1.012 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.6204, allocations: 2.108 MB / 1.014 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003293/0.6237, allocations: 2.12 MB / 1.016 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006171/0.6299, allocations: 8.144 MB / 1.024 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.6299, allocations: 0 / 1.024 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6299, allocations: 7.875 kB / 1.024 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.714e-05/0.63, allocations: 0 / 1.024 GB, free: 8.965 MB / 0.7794 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.00514/0.6351, allocations: 3.558 MB / 1.027 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6352, allocations: 8.031 kB / 1.027 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006443/0.6358, allocations: 0.5714 MB / 1.028 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007478/0.6433, allocations: 1.685 MB / 1.029 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.6466, allocations: 2.575 MB / 1.032 GB, free: 440 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.6468, allocations: 275.7 kB / 1.032 GB, free: 164 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.6473, allocations: 368.2 kB / 1.032 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009245/0.6566, allocations: 7.487 MB / 1.04 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.6567, allocations: 15.88 kB / 1.04 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.657, allocations: 155.9 kB / 1.04 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000488/0.6575, allocations: 487.3 kB / 1.04 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007412/0.665, allocations: 5.705 MB / 1.046 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.6908, allocations: 31.68 MB / 1.077 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.6933, allocations: 2.094 MB / 1.079 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.6958, allocations: 2.17 MB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.6959, allocations: 13.31 kB / 1.081 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.696, allocations: 47.88 kB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.106e-06/0.696, allocations: 3.938 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.2881/0.9841, allocations: 75.28 MB / 1.155 GB, free: 15.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.9841, allocations: 77.41 kB / 1.155 GB, free: 15.38 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.9866, allocations: 1.67 MB / 1.156 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003697/0.987, allocations: 65.7 kB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.988, allocations: 1.751 MB / 1.158 GB, free: 11.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/0.9889, allocations: 0.851 MB / 1.159 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/0.9893, allocations: 199 kB / 1.159 GB, free: 10.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.9894, allocations: 309.1 kB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.9929, allocations: 2.734 MB / 1.162 GB, free: 7.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004079/0.997, allocations: 3.332 MB / 1.165 GB, free: 4.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/1.005, allocations: 6.393 MB / 1.172 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/1.005, allocations: 4 kB / 1.172 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03101/1.036, allocations: 14.67 MB / 1.186 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.036, allocations: 16 kB / 1.186 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/1.036, allocations: 16 kB / 1.186 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02768/1.064, allocations: 9.244 MB / 1.195 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.065, allocations: 307.4 kB / 1.195 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06898/1.134, allocations: 47.14 MB / 1.241 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.136, allocations: 215.7 kB / 1.242 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.137, allocations: 108 kB / 1.242 GB, free: 4.887 MB / 0.9981 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.002422/1.139, allocations: 1.586 MB / 1.243 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.14, allocations: 245 kB / 1.243 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03159/1.171, allocations: 14.76 MB / 1.258 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.171, allocations: 24 kB / 1.258 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/1.171, allocations: 44 kB / 1.258 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.171, allocations: 15.95 kB / 1.258 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4636/1.635, allocations: 20.52 MB / 1.278 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.635, allocations: 7.438 kB / 1.278 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/1.636, allocations: 165 kB / 1.278 GB, free: 273.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02723/1.663, allocations: 9.002 MB / 1.287 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/1.664, allocations: 48.12 kB / 1.287 GB, free: 272.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05949/1.723, allocations: 46.74 MB / 1.333 GB, free: 238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.723, allocations: 7.938 kB / 1.333 GB, free: 238 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/1.75, allocations: 14.37 MB / 1.347 GB, free: 223.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.751, allocations: 0.8493 MB / 1.347 GB, free: 222.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006491/1.752, allocations: 44 kB / 1.348 GB, free: 222.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.754, allocations: 211.7 kB / 1.348 GB, free: 222.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.755, allocations: 241.5 kB / 1.348 GB, free: 222.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.756, allocations: 67.94 kB / 1.348 GB, free: 222.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001329/1.757, allocations: 1.129 MB / 1.349 GB, free: 220.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.757, allocations: 0 / 1.349 GB, free: 220.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003795/1.761, allocations: 1.613 MB / 1.351 GB, free: 219.3 MB / 1.014 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.02621/1.787, allocations: 14.98 MB / 1.365 GB, free: 204.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.805, allocations: 10.36 MB / 1.375 GB, free: 193.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.805, allocations: 0 / 1.375 GB, free: 193.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/1.82, allocations: 7.155 MB / 1.382 GB, free: 186.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.824, allocations: 0.5174 MB / 1.383 GB, free: 186 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07971/1.903, allocations: 55.14 MB / 1.437 GB, free: 128.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/1.906, allocations: 3.228 MB / 1.44 GB, free: 125.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009402/1.907, allocations: 391.3 kB / 1.44 GB, free: 125 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.909, allocations: 1.46 MB / 1.442 GB, free: 123.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.909, allocations: 0 / 1.442 GB, free: 123.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.213/5.122, allocations: 113.3 MB / 1.552 GB, free: 10.76 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/5.122, allocations: 264.8 kB / 1.553 GB, free: 10.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.205/9.327, allocations: 0 / 1.553 GB, free: 10.5 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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