Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001595/0.001595, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001766/0.001766, allocations: 198.8 kB / 16.26 MB, free: 6.621 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.36/2.36, allocations: 390.3 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7266, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02674/0.7534, allocations: 26.44 MB / 0.9751 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.7698, allocations: 8.005 MB / 0.9829 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.7725, allocations: 103.8 kB / 0.983 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006977/0.7796, allocations: 2.579 MB / 0.9855 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.7843, allocations: 1.462 MB / 0.9869 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.7885, allocations: 1.553 MB / 0.9884 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.7956, allocations: 6.146 MB / 0.9944 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.8077, allocations: 8.949 MB / 1.003 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.8118, allocations: 2.62 MB / 1.006 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.816, allocations: 2.967 MB / 1.009 GB, free: 5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.8174, allocations: 0.5078 MB / 1.009 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.8205, allocations: 1.283 MB / 1.01 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.8232, allocations: 2.058 MB / 1.012 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.8272, allocations: 2.373 MB / 1.015 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.009288/0.8365, allocations: 8.067 MB / 1.023 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8365, allocations: 4 kB / 1.023 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8366, allocations: 0 / 1.023 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002755/0.8368, allocations: 0 / 1.023 GB, free: 6.668 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01049/0.8473, allocations: 4.228 MB / 1.027 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8474, allocations: 12.03 kB / 1.027 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001427/0.8488, allocations: 0.5343 MB / 1.027 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.8537, allocations: 0.8078 MB / 1.028 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.8585, allocations: 2.421 MB / 1.03 GB, free: 14.53 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.8587, allocations: 267.7 kB / 1.031 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.8598, allocations: 380.4 kB / 1.031 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.8708, allocations: 5.992 MB / 1.037 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.8709, allocations: 19.78 kB / 1.037 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005671/0.8715, allocations: 156 kB / 1.037 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005736/0.8721, allocations: 278.9 kB / 1.037 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007715/0.8798, allocations: 4.527 MB / 1.042 GB, free: 2.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.9133, allocations: 27.67 MB / 1.069 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.916, allocations: 1.123 MB / 1.07 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.9182, allocations: 1.015 MB / 1.071 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.9184, allocations: 9 kB / 1.071 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.9184, allocations: 51.56 kB / 1.071 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 5.651e-06/0.9185, allocations: 0 / 1.071 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.02239/0.9409, allocations: 9.67 MB / 1.08 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.9409, allocations: 68.66 kB / 1.08 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.943, allocations: 1.49 MB / 1.082 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.9431, allocations: 57.7 kB / 1.082 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000987/0.9441, allocations: 1.663 MB / 1.084 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.9445, allocations: 473.2 kB / 1.084 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.945, allocations: 323.2 kB / 1.084 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.9451, allocations: 309.1 kB / 1.085 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.9464, allocations: 0.9135 MB / 1.085 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.9479, allocations: 1.467 MB / 1.087 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.9509, allocations: 2.546 MB / 1.089 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.9509, allocations: 4 kB / 1.089 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005417/0.9563, allocations: 3.289 MB / 1.093 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9563, allocations: 12 kB / 1.093 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.9564, allocations: 16 kB / 1.093 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.9586, allocations: 0.7458 MB / 1.093 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.9601, allocations: 383.4 kB / 1.094 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.9747, allocations: 17.05 MB / 1.11 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.9762, allocations: 99.97 kB / 1.11 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.9764, allocations: 83.98 kB / 1.111 GB, free: 7.562 MB / 0.8731 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002041/0.9785, allocations: 1.309 MB / 1.112 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.9789, allocations: 205.6 kB / 1.112 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.9838, allocations: 2.784 MB / 1.115 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.9838, allocations: 16 kB / 1.115 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.9839, allocations: 4 kB / 1.115 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.9839, allocations: 11.92 kB / 1.115 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.9941, allocations: 6.225 MB / 1.121 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9941, allocations: 4 kB / 1.121 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.9953, allocations: 227.7 kB / 1.121 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.9972, allocations: 0.6712 MB / 1.122 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.9974, allocations: 35.98 kB / 1.122 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.011, allocations: 16.8 MB / 1.138 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.011, allocations: 8 kB / 1.138 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/1.017, allocations: 3.997 MB / 1.142 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/1.018, allocations: 462.6 kB / 1.143 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/1.018, allocations: 35.94 kB / 1.143 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.019, allocations: 79.89 kB / 1.143 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.02, allocations: 112.7 kB / 1.143 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/1.02, allocations: 43.98 kB / 1.143 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001379/1.021, allocations: 0.9942 MB / 1.144 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.021, allocations: 4 kB / 1.144 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002203/1.023, allocations: 0.6836 MB / 1.144 GB, free: 3.238 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006233/1.03, allocations: 4.609 MB / 1.149 GB, free: 14.51 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007091/1.037, allocations: 4.104 MB / 1.153 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.037, allocations: 0 / 1.153 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/1.04, allocations: 2.292 MB / 1.155 GB, free: 7.879 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.044, allocations: 0.6711 MB / 1.156 GB, free: 7.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/1.085, allocations: 24.27 MB / 1.18 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/1.09, allocations: 2.668 MB / 1.182 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001808/1.091, allocations: 477.4 kB / 1.183 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.093, allocations: 1.284 MB / 1.184 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/1.093, allocations: 8 kB / 1.184 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.475/1.568, allocations: 56.32 MB / 1.239 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/1.568, allocations: 247.1 kB / 1.239 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.61, allocations: 4.062 kB / 1.239 GB, free: 1.074 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches