Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.005844/0.005844, allocations: 99.28 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.001316/0.001316, allocations: 193.2 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.488/2.488, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 71.86 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2522, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04127/0.2935, allocations: 37.94 MB / 1.203 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.3105, allocations: 11 MB / 1.214 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.3129, allocations: 159.2 kB / 1.214 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009788/0.3227, allocations: 4.359 MB / 1.218 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004926/0.3277, allocations: 2.219 MB / 1.221 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.3322, allocations: 2.168 MB / 1.223 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009843/0.3421, allocations: 9.291 MB / 1.232 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01483/0.3569, allocations: 11.26 MB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.3624, allocations: 3.996 MB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4867/0.8491, allocations: 4.506 MB / 1.251 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002386/0.8515, allocations: 0.8224 MB / 1.252 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.855, allocations: 1.583 MB / 1.253 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.858, allocations: 3.151 MB / 1.257 GB, free: 24.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004867/0.8629, allocations: 3.655 MB / 1.26 GB, free: 24.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.8808, allocations: 12.35 MB / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.8809, allocations: 1.281 kB / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8809, allocations: 0 / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003588/0.8813, allocations: 0 / 1.272 GB, free: 23.4 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01774/0.899, allocations: 6.467 MB / 1.278 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.8991, allocations: 10.42 kB / 1.278 GB, free: 21.01 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001306/0.9004, allocations: 0.8276 MB / 1.279 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.9053, allocations: 1.098 MB / 1.28 GB, free: 20.58 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.9107, allocations: 3.635 MB / 1.284 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.9109, allocations: 424.8 kB / 1.284 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.9117, allocations: 0.5401 MB / 1.285 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.9254, allocations: 9.379 MB / 1.294 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.9255, allocations: 21.02 kB / 1.294 GB, free: 17.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006124/0.9261, allocations: 248.3 kB / 1.294 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005243/0.9267, allocations: 422.8 kB / 1.295 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.9373, allocations: 7.123 MB / 1.302 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.9734, allocations: 41.06 MB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.9774, allocations: 3.118 MB / 1.345 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.9799, allocations: 2.148 MB / 1.347 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.9801, allocations: 22.25 kB / 1.347 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.9801, allocations: 67.53 kB / 1.347 GB, free: 8.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=209): time 3.967e-06/0.9801, allocations: 0 / 1.347 GB, free: 8.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=212): time 0.0217/1.002, allocations: 10.63 MB / 1.357 GB, free: 2.922 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.002, allocations: 80.58 kB / 1.357 GB, free: 2.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.004, allocations: 2.001 MB / 1.359 GB, free: 1.762 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/1.004, allocations: 64.77 kB / 1.359 GB, free: 1.703 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.006, allocations: 2.472 MB / 1.362 GB, free: 15.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/1.006, allocations: 0.7715 MB / 1.363 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006951/1.007, allocations: 484.7 kB / 1.363 GB, free: 14.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.007, allocations: 305.1 kB / 1.363 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.009, allocations: 1.374 MB / 1.365 GB, free: 13.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.011, allocations: 2.1 MB / 1.367 GB, free: 11.92 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/1.015, allocations: 3.764 MB / 1.37 GB, free: 9.453 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.015, allocations: 6.375 kB / 1.37 GB, free: 9.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007245/1.023, allocations: 5.083 MB / 1.375 GB, free: 6.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.023, allocations: 18.22 kB / 1.375 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/1.023, allocations: 28 kB / 1.375 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/1.026, allocations: 1.582 MB / 1.377 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.028, allocations: 455 kB / 1.377 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/1.05, allocations: 18.6 MB / 1.396 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/1.052, allocations: 147.9 kB / 1.396 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.053, allocations: 104 kB / 1.396 GB, free: 0.6953 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003373/1.056, allocations: 1.941 MB / 1.398 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/1.056, allocations: 298.2 kB / 1.398 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007088/1.063, allocations: 4.46 MB / 1.402 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.063, allocations: 20 kB / 1.402 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.064, allocations: 16 kB / 1.402 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.064, allocations: 11.97 kB / 1.402 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.078, allocations: 9.678 MB / 1.412 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.078, allocations: 4 kB / 1.412 GB, free: 312 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/1.079, allocations: 232.8 kB / 1.412 GB, free: 92 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/1.082, allocations: 1.433 MB / 1.413 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.082, allocations: 40 kB / 1.413 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/1.105, allocations: 18.58 MB / 1.432 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.105, allocations: 10.53 kB / 1.432 GB, free: 11.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007157/1.112, allocations: 4.557 MB / 1.436 GB, free: 6.922 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.113, allocations: 0.6397 MB / 1.437 GB, free: 6.262 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/1.113, allocations: 43.95 kB / 1.437 GB, free: 6.219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.115, allocations: 115.9 kB / 1.437 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1.115, allocations: 181.7 kB / 1.437 GB, free: 5.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.115, allocations: 60 kB / 1.437 GB, free: 5.875 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00175/1.117, allocations: 1.312 MB / 1.438 GB, free: 4.555 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0 / 1.438 GB, free: 4.555 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003005/1.12, allocations: 1.144 MB / 1.439 GB, free: 3.414 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007185/1.127, allocations: 5.178 MB / 1.445 GB, free: 14.21 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007146/1.134, allocations: 4.723 MB / 1.449 GB, free: 9.559 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.134, allocations: 5 kB / 1.449 GB, free: 9.555 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/1.139, allocations: 2.927 MB / 1.452 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.143, allocations: 0.8983 MB / 1.453 GB, free: 5.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04515/1.188, allocations: 30.54 MB / 1.483 GB, free: 6.27 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/1.192, allocations: 3.69 MB / 1.486 GB, free: 2.543 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001744/1.194, allocations: 0.5549 MB / 1.487 GB, free: 1.984 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002226/1.196, allocations: 1.944 MB / 1.489 GB, free: 40 kB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.196, allocations: 0 / 1.489 GB, free: 40 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.01/4.206, allocations: 85.27 MB / 1.572 GB, free: 11.95 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/23, allocations: 7.922 kB / 1.572 GB, free: 11.94 MB / 1.248 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches