Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001251/0.001252, allocations: 107.3 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.001364/0.001365, allocations: 190.7 kB / 16.25 MB, free: 6.152 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 68.14 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5228, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02221/0.545, allocations: 23.23 MB / 1.04 GB, free: 11.51 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00906/0.5541, allocations: 6.445 MB / 1.046 GB, free: 5.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007977/0.5549, allocations: 79.56 kB / 1.046 GB, free: 4.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.5577, allocations: 1.357 MB / 1.047 GB, free: 3.605 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.5602, allocations: 1.712 MB / 1.049 GB, free: 1.887 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.5626, allocations: 1.331 MB / 1.05 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005392/0.568, allocations: 6.951 MB / 1.057 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008614/0.5766, allocations: 8.129 MB / 1.065 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.5797, allocations: 2.885 MB / 1.068 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.5832, allocations: 3.689 MB / 1.071 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005545/0.5837, allocations: 0.5273 MB / 1.072 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.5854, allocations: 1.174 MB / 1.073 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/0.5872, allocations: 2.464 MB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.5892, allocations: 2.54 MB / 1.078 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005718/0.5949, allocations: 8.518 MB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.5949, allocations: 0 / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.595, allocations: 4 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.597e-05/0.595, allocations: 0 / 1.086 GB, free: 11.51 MB / 0.8419 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.006032/0.6011, allocations: 4.431 MB / 1.091 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.6011, allocations: 12.03 kB / 1.091 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006253/0.6018, allocations: 0.5675 MB / 1.091 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007356/0.6091, allocations: 1.681 MB / 1.093 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.6125, allocations: 2.571 MB / 1.095 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6127, allocations: 279.7 kB / 1.096 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.6132, allocations: 360.3 kB / 1.096 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0092/0.6224, allocations: 7.487 MB / 1.103 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/0.6225, allocations: 19.78 kB / 1.103 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/0.6229, allocations: 163.9 kB / 1.103 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004693/0.6234, allocations: 487.3 kB / 1.104 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007162/0.6306, allocations: 5.693 MB / 1.109 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.6558, allocations: 31.7 MB / 1.14 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.6582, allocations: 2.097 MB / 1.142 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.6607, allocations: 2.174 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.6608, allocations: 21.16 kB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6609, allocations: 47.88 kB / 1.145 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/0.6609, allocations: 3.938 kB / 1.145 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.2558/0.9167, allocations: 77.01 MB / 1.22 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.9167, allocations: 77.41 kB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.9186, allocations: 1.67 MB / 1.222 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.9188, allocations: 61.7 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.9197, allocations: 1.747 MB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/0.9204, allocations: 0.8509 MB / 1.224 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009096/0.9213, allocations: 493.2 kB / 1.225 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.9214, allocations: 301.1 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/0.9247, allocations: 2.726 MB / 1.228 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.9284, allocations: 3.336 MB / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/0.9357, allocations: 6.393 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.9357, allocations: 8 kB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.3828/1.319, allocations: 14.67 MB / 1.251 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.319, allocations: 12.97 kB / 1.251 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.319, allocations: 16.75 kB / 1.251 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02708/1.346, allocations: 9.3 MB / 1.261 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.347, allocations: 303.2 kB / 1.261 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05811/1.405, allocations: 52.37 MB / 1.312 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.407, allocations: 231.6 kB / 1.312 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/1.407, allocations: 96 kB / 1.312 GB, free: 179.5 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.001753/1.409, allocations: 1.58 MB / 1.314 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/1.409, allocations: 249.5 kB / 1.314 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02444/1.434, allocations: 14.75 MB / 1.328 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.434, allocations: 37.02 kB / 1.329 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/1.434, allocations: 44 kB / 1.329 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.434, allocations: 20.75 kB / 1.329 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/1.464, allocations: 20.51 MB / 1.349 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.464, allocations: 4 kB / 1.349 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/1.464, allocations: 167.7 kB / 1.349 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02252/1.487, allocations: 9.056 MB / 1.358 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.487, allocations: 48 kB / 1.358 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05578/1.543, allocations: 51.97 MB / 1.408 GB, free: 80.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.543, allocations: 8 kB / 1.408 GB, free: 80.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/1.566, allocations: 14.37 MB / 1.422 GB, free: 65.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.568, allocations: 0.8454 MB / 1.423 GB, free: 64.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/1.568, allocations: 55.92 kB / 1.423 GB, free: 64.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.57, allocations: 207.7 kB / 1.424 GB, free: 64.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/1.57, allocations: 237.5 kB / 1.424 GB, free: 64.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/1.571, allocations: 68 kB / 1.424 GB, free: 64.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009926/1.572, allocations: 1.121 MB / 1.425 GB, free: 63 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.572, allocations: 336 / 1.425 GB, free: 63 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003058/1.575, allocations: 1.618 MB / 1.426 GB, free: 61.38 MB / 0.9981 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.02399/1.599, allocations: 14.98 MB / 1.441 GB, free: 46.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01748/1.616, allocations: 11.33 MB / 1.452 GB, free: 34.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.616, allocations: 0 / 1.452 GB, free: 34.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.629, allocations: 7.31 MB / 1.459 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.631, allocations: 0.5476 MB / 1.46 GB, free: 26.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08093/1.712, allocations: 55.14 MB / 1.514 GB, free: 1.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/1.715, allocations: 3.231 MB / 1.517 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009004/1.716, allocations: 395.3 kB / 1.517 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/1.717, allocations: 1.46 MB / 1.519 GB, free: 12.5 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/1.717, allocations: 0 / 1.519 GB, free: 12.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.209/3.927, allocations: 120.4 MB / 1.636 GB, free: 4.594 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/3.927, allocations: 258.2 kB / 1.637 GB, free: 4.34 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/7.165, allocations: 3.938 kB / 1.637 GB, free: 4.336 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches