Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002334/0.002334, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 64.45 kB / 1.117 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3129, allocations: 169.9 MB / 1.283 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02986/0.3427, allocations: 22.25 MB / 1.304 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.3556, allocations: 6.453 MB / 1.311 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.3576, allocations: 123.1 kB / 1.311 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004532/0.3621, allocations: 1.51 MB / 1.312 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.3671, allocations: 1.945 MB / 1.314 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.3708, allocations: 1.467 MB / 1.316 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008201/0.379, allocations: 6.901 MB / 1.322 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007088/0.3861, allocations: 3.734 MB / 1.326 GB, free: 7.613 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.3908, allocations: 2.925 MB / 1.329 GB, free: 4.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005731/0.3965, allocations: 3.563 MB / 1.332 GB, free: 1.105 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.398, allocations: 0.5273 MB / 1.333 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.4014, allocations: 1.108 MB / 1.334 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004024/0.4054, allocations: 2.537 MB / 1.336 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003611/0.409, allocations: 2.054 MB / 1.338 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4194, allocations: 8.593 MB / 1.347 GB, free: 2.242 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.4194, allocations: 0 / 1.347 GB, free: 2.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4194, allocations: 0 / 1.347 GB, free: 2.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002009/0.4196, allocations: 0 / 1.347 GB, free: 2.242 MB / 1.045 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.01032/0.4299, allocations: 4.472 MB / 1.351 GB, free: 13.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.43, allocations: 8.031 kB / 1.351 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008379/0.4308, allocations: 0.5714 MB / 1.352 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008425/0.4392, allocations: 1.703 MB / 1.353 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006119/0.4454, allocations: 2.668 MB / 1.356 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.4456, allocations: 275.7 kB / 1.356 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007149/0.4463, allocations: 360.3 kB / 1.357 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.4592, allocations: 7.72 MB / 1.364 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.4593, allocations: 15.89 kB / 1.364 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004547/0.4597, allocations: 160 kB / 1.364 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006349/0.4604, allocations: 483.3 kB / 1.365 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.4704, allocations: 5.697 MB / 1.37 GB, free: 9.691 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.5053, allocations: 20.55 MB / 1.39 GB, free: 4.664 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.5085, allocations: 2.012 MB / 1.392 GB, free: 2.641 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.5118, allocations: 2.1 MB / 1.394 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.512, allocations: 25.25 kB / 1.394 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.512, allocations: 47.88 kB / 1.394 GB, free: 464 kB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.512, allocations: 0 / 1.394 GB, free: 464 kB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.328/0.84, allocations: 76.72 MB / 1.469 GB, free: 3.609 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.8401, allocations: 77.41 kB / 1.469 GB, free: 3.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.8428, allocations: 1.701 MB / 1.471 GB, free: 1.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/0.8432, allocations: 65.7 kB / 1.471 GB, free: 1.703 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.8447, allocations: 1.788 MB / 1.473 GB, free: 15.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.8459, allocations: 0.8985 MB / 1.474 GB, free: 14.99 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.8472, allocations: 489.4 kB / 1.474 GB, free: 14.5 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8473, allocations: 305.1 kB / 1.475 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/0.8516, allocations: 2.73 MB / 1.477 GB, free: 11.47 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.8565, allocations: 3.335 MB / 1.48 GB, free: 7.887 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009605/0.8661, allocations: 6.393 MB / 1.487 GB, free: 1.254 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.8661, allocations: 4 kB / 1.487 GB, free: 1.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03604/0.9022, allocations: 14.4 MB / 1.501 GB, free: 2.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.9022, allocations: 18.34 kB / 1.501 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.9022, allocations: 19.94 kB / 1.501 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03224/0.9345, allocations: 9.198 MB / 1.51 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9358, allocations: 303.4 kB / 1.51 GB, free: 9.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09163/1.027, allocations: 51.03 MB / 1.56 GB, free: 5.488 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.03, allocations: 223.6 kB / 1.56 GB, free: 5.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/1.031, allocations: 104 kB / 1.56 GB, free: 5.168 MB / 1.264 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.00297/1.034, allocations: 1.594 MB / 1.562 GB, free: 3.562 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/1.035, allocations: 250.6 kB / 1.562 GB, free: 3.316 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5955/1.63, allocations: 14.46 MB / 1.576 GB, free: 261.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.63, allocations: 27.38 kB / 1.576 GB, free: 261.3 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001499/1.63, allocations: 45.84 kB / 1.576 GB, free: 261.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.784e-05/1.63, allocations: 11.91 kB / 1.576 GB, free: 261.3 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0405/1.671, allocations: 19.53 MB / 1.595 GB, free: 255.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/1.671, allocations: 6.625 kB / 1.595 GB, free: 255.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/1.672, allocations: 165.3 kB / 1.595 GB, free: 255.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02691/1.699, allocations: 8.973 MB / 1.604 GB, free: 253 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/1.699, allocations: 51.05 kB / 1.604 GB, free: 253 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06411/1.763, allocations: 50.61 MB / 1.654 GB, free: 208.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.763, allocations: 7.938 kB / 1.654 GB, free: 208.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/1.79, allocations: 14.08 MB / 1.667 GB, free: 193.9 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.793, allocations: 0.7848 MB / 1.668 GB, free: 193.1 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/1.793, allocations: 55.92 kB / 1.668 GB, free: 193.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.795, allocations: 203.7 kB / 1.668 GB, free: 192.9 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/1.797, allocations: 253.3 kB / 1.669 GB, free: 192.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/1.797, allocations: 67.98 kB / 1.669 GB, free: 192.6 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001283/1.798, allocations: 1.125 MB / 1.67 GB, free: 191.4 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.798, allocations: 0 / 1.67 GB, free: 191.4 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003939/1.802, allocations: 1.609 MB / 1.671 GB, free: 189.8 MB / 1.264 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.02716/1.829, allocations: 14.72 MB / 1.686 GB, free: 174.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01944/1.849, allocations: 10.2 MB / 1.696 GB, free: 164.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.849, allocations: 4.25 kB / 1.696 GB, free: 164.7 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/1.864, allocations: 7.008 MB / 1.703 GB, free: 157.6 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.867, allocations: 0.5599 MB / 1.703 GB, free: 157.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08217/1.949, allocations: 50.5 MB / 1.752 GB, free: 105.6 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.952, allocations: 2.685 MB / 1.755 GB, free: 102.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001083/1.953, allocations: 399.2 kB / 1.755 GB, free: 102.4 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.954, allocations: 1.464 MB / 1.757 GB, free: 101 MB / 1.264 GB Notification: Performance of SimCode: time 9.32e-07/1.954, allocations: 4 kB / 1.757 GB, free: 101 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/2.123, allocations: 129.3 MB / 1.883 GB, free: 4.438 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/16.85, allocations: 11.5 kB / 1.883 GB, free: 4.43 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.811150461435318]