Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8042, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03789/0.8421, allocations: 34.27 MB / 1.305 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.8619, allocations: 10.65 MB / 1.315 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.865, allocations: 145.9 kB / 1.316 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.8752, allocations: 3.857 MB / 1.319 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.8808, allocations: 1.954 MB / 1.321 GB, free: 6.555 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006125/0.887, allocations: 2.197 MB / 1.323 GB, free: 5.297 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.8973, allocations: 7.321 MB / 1.331 GB, free: 1.996 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009966/0.9073, allocations: 4.815 MB / 1.335 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005863/0.9131, allocations: 3.227 MB / 1.338 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007194/0.9203, allocations: 3.673 MB / 1.342 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002284/0.9226, allocations: 0.6461 MB / 1.343 GB, free: 12.51 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.9283, allocations: 1.806 MB / 1.344 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005166/0.9335, allocations: 2.617 MB / 1.347 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005746/0.9392, allocations: 2.894 MB / 1.35 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.9524, allocations: 10.15 MB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9524, allocations: 0 / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9524, allocations: 0 / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002073/0.9526, allocations: 0 / 1.36 GB, free: 1.867 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01123/0.9638, allocations: 5.122 MB / 1.365 GB, free: 14.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9639, allocations: 9.656 kB / 1.365 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/0.965, allocations: 0.6856 MB / 1.365 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.9705, allocations: 0.9748 MB / 1.366 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.9765, allocations: 3.059 MB / 1.369 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.9767, allocations: 348.6 kB / 1.37 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/0.9776, allocations: 458.5 kB / 1.37 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.9929, allocations: 7.669 MB / 1.378 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.993, allocations: 32.94 kB / 1.378 GB, free: 6.238 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005158/0.9935, allocations: 196.6 kB / 1.378 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003328/0.9938, allocations: 319.2 kB / 1.378 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009958/1.004, allocations: 5.708 MB / 1.384 GB, free: 1.648 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/1.041, allocations: 34.88 MB / 1.418 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/1.044, allocations: 2.009 MB / 1.42 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.046, allocations: 1.132 MB / 1.421 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/1.046, allocations: 13.31 kB / 1.421 GB, free: 8.289 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.046, allocations: 47.88 kB / 1.421 GB, free: 8.234 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 2.946e-06/1.046, allocations: 0 / 1.421 GB, free: 8.234 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01455/1.061, allocations: 7.13 MB / 1.428 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/1.061, allocations: 68.72 kB / 1.428 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/1.063, allocations: 1.476 MB / 1.429 GB, free: 15.24 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.063, allocations: 49.69 kB / 1.429 GB, free: 15.18 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.064, allocations: 2.069 MB / 1.431 GB, free: 13.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/1.065, allocations: 0.4996 MB / 1.432 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005462/1.065, allocations: 347.4 kB / 1.432 GB, free: 12.24 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.065, allocations: 313.1 kB / 1.432 GB, free: 11.93 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.067, allocations: 0.9096 MB / 1.433 GB, free: 11.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/1.069, allocations: 1.593 MB / 1.435 GB, free: 9.121 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/1.072, allocations: 2.729 MB / 1.438 GB, free: 6.082 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.073, allocations: 8 kB / 1.438 GB, free: 6.074 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00646/1.079, allocations: 3.512 MB / 1.441 GB, free: 2.516 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.079, allocations: 12 kB / 1.441 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/1.079, allocations: 24 kB / 1.441 GB, free: 2.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/1.082, allocations: 0.9079 MB / 1.442 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.083, allocations: 355.3 kB / 1.442 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/1.106, allocations: 23.12 MB / 1.465 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.108, allocations: 99.95 kB / 1.465 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.108, allocations: 88 kB / 1.465 GB, free: 8.203 MB / 1.154 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002776/1.111, allocations: 1.606 MB / 1.467 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/1.111, allocations: 218.6 kB / 1.467 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/1.117, allocations: 2.963 MB / 1.47 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.117, allocations: 12 kB / 1.47 GB, free: 3.348 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/1.117, allocations: 15.94 kB / 1.47 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.117, allocations: 11.97 kB / 1.47 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/1.129, allocations: 7.31 MB / 1.477 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.129, allocations: 16.03 kB / 1.477 GB, free: 11.76 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/1.13, allocations: 179.7 kB / 1.477 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.132, allocations: 0.8179 MB / 1.478 GB, free: 10.73 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/1.133, allocations: 32 kB / 1.478 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/1.154, allocations: 21.96 MB / 1.499 GB, free: 3.059 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.154, allocations: 4.234 kB / 1.499 GB, free: 3.055 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/1.16, allocations: 3.011 MB / 1.502 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009693/1.161, allocations: 475.6 kB / 1.503 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.161, allocations: 31.94 kB / 1.503 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/1.162, allocations: 71.91 kB / 1.503 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.162, allocations: 132.7 kB / 1.503 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/1.162, allocations: 36 kB / 1.503 GB, free: 15.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001379/1.164, allocations: 0.9756 MB / 1.504 GB, free: 14.18 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.164, allocations: 0 / 1.504 GB, free: 14.18 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002873/1.166, allocations: 0.7891 MB / 1.505 GB, free: 13.39 MB / 1.201 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005467/1.172, allocations: 3.6 MB / 1.508 GB, free: 9.668 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006288/1.178, allocations: 3.921 MB / 1.512 GB, free: 5.594 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.178, allocations: 0 / 1.512 GB, free: 5.594 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/1.182, allocations: 2.663 MB / 1.515 GB, free: 2.777 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.185, allocations: 0.7306 MB / 1.515 GB, free: 2.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/1.222, allocations: 22.55 MB / 1.537 GB, free: 10.5 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/1.226, allocations: 3.101 MB / 1.54 GB, free: 7.363 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001426/1.227, allocations: 457.9 kB / 1.541 GB, free: 6.914 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.229, allocations: 1.538 MB / 1.542 GB, free: 5.375 MB / 1.232 GB Notification: Performance of SimCode: time 1.212e-06/1.229, allocations: 0 / 1.542 GB, free: 5.375 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.367, allocations: 62.12 MB / 1.603 GB, free: 7.852 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.12, allocations: 11.92 kB / 1.603 GB, free: 7.84 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 20.27245898800902]