Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001281/0.001281, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 3.723 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.881/2.881, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] 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_RL,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.88 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9784/0.9806, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03211/1.013, allocations: 27.1 MB / 1.295 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01745/1.03, allocations: 8.16 MB / 1.303 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/1.034, allocations: 119.1 kB / 1.303 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007965/1.042, allocations: 2.81 MB / 1.306 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005954/1.048, allocations: 1.67 MB / 1.308 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005814/1.054, allocations: 1.681 MB / 1.309 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009336/1.063, allocations: 6.137 MB / 1.315 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008493/1.072, allocations: 5.316 MB / 1.32 GB, free: 7.223 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/1.078, allocations: 2.614 MB / 1.323 GB, free: 6.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007238/1.085, allocations: 2.997 MB / 1.326 GB, free: 4.773 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002434/1.088, allocations: 0.5078 MB / 1.326 GB, free: 4.773 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/1.092, allocations: 1.309 MB / 1.328 GB, free: 4.469 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003779/1.096, allocations: 2.102 MB / 1.33 GB, free: 3.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004986/1.101, allocations: 2.377 MB / 1.332 GB, free: 2.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.114, allocations: 8.087 MB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.114, allocations: 1.125 kB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/1.114, allocations: 0 / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002529/1.115, allocations: 4 kB / 1.34 GB, free: 14.95 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01263/1.127, allocations: 4.331 MB / 1.344 GB, free: 11.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.127, allocations: 9.75 kB / 1.344 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/1.129, allocations: 0.5467 MB / 1.345 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/1.133, allocations: 0.8084 MB / 1.346 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007003/1.14, allocations: 2.584 MB / 1.348 GB, free: 9.488 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/1.141, allocations: 281.5 kB / 1.348 GB, free: 9.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/1.142, allocations: 389.2 kB / 1.349 GB, free: 9.211 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/1.157, allocations: 5.987 MB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/1.158, allocations: 14.75 kB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.159, allocations: 158.6 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007473/1.16, allocations: 284.8 kB / 1.355 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/1.172, allocations: 4.523 MB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0418/1.213, allocations: 27.5 MB / 1.386 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/1.216, allocations: 1.061 MB / 1.387 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/1.217, allocations: 0.9667 MB / 1.388 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/1.217, allocations: 16.42 kB / 1.388 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/1.217, allocations: 47.97 kB / 1.388 GB, free: 8.223 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 4.248e-06/1.217, allocations: 0 / 1.388 GB, free: 8.223 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02451/1.242, allocations: 9.7 MB / 1.398 GB, free: 14.33 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.242, allocations: 64.72 kB / 1.398 GB, free: 14.25 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/1.245, allocations: 1.49 MB / 1.399 GB, free: 12.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/1.245, allocations: 45.7 kB / 1.399 GB, free: 12.71 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.247, allocations: 1.723 MB / 1.401 GB, free: 10.97 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/1.247, allocations: 495.7 kB / 1.402 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/1.248, allocations: 327.4 kB / 1.402 GB, free: 10.16 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.248, allocations: 313.1 kB / 1.402 GB, free: 9.848 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.25, allocations: 0.9135 MB / 1.403 GB, free: 8.934 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/1.252, allocations: 1.463 MB / 1.404 GB, free: 7.227 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/1.255, allocations: 2.55 MB / 1.407 GB, free: 4.434 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/1.255, allocations: 4 kB / 1.407 GB, free: 4.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.0065/1.262, allocations: 3.275 MB / 1.41 GB, free: 1.117 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.262, allocations: 16.06 kB / 1.41 GB, free: 1.102 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/1.262, allocations: 16 kB / 1.41 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/1.264, allocations: 0.7373 MB / 1.411 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/1.266, allocations: 387.3 kB / 1.411 GB, free: 15.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/1.285, allocations: 17.05 MB / 1.428 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.287, allocations: 103.9 kB / 1.428 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/1.288, allocations: 72 kB / 1.428 GB, free: 13.46 MB / 1.123 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.003869/1.291, allocations: 1.315 MB / 1.429 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008486/1.292, allocations: 210.9 kB / 1.43 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/1.298, allocations: 2.769 MB / 1.432 GB, free: 9.121 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.298, allocations: 12 kB / 1.432 GB, free: 9.109 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-05/1.298, allocations: 8 kB / 1.432 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.298, allocations: 7.969 kB / 1.432 GB, free: 9.094 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/1.312, allocations: 6.193 MB / 1.438 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.313, allocations: 4 kB / 1.438 GB, free: 2.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.314, allocations: 231.8 kB / 1.439 GB, free: 2.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/1.316, allocations: 0.6755 MB / 1.439 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.316, allocations: 40 kB / 1.439 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/1.333, allocations: 16.77 MB / 1.456 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.333, allocations: 12 kB / 1.456 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006856/1.34, allocations: 3.994 MB / 1.46 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.342, allocations: 455.7 kB / 1.46 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.342, allocations: 51.8 kB / 1.46 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.343, allocations: 79.89 kB / 1.46 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/1.344, allocations: 116.8 kB / 1.46 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.344, allocations: 44 kB / 1.46 GB, free: 10.86 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001851/1.346, allocations: 0.9942 MB / 1.461 GB, free: 9.875 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.346, allocations: 0 / 1.461 GB, free: 9.875 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00288/1.349, allocations: 0.6875 MB / 1.462 GB, free: 9.188 MB / 1.154 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.007373/1.356, allocations: 4.595 MB / 1.466 GB, free: 4.473 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006051/1.362, allocations: 3.382 MB / 1.47 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.362, allocations: 7.938 kB / 1.47 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003705/1.366, allocations: 2.244 MB / 1.472 GB, free: 14.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/1.37, allocations: 0.6726 MB / 1.473 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/1.409, allocations: 21.24 MB / 1.493 GB, free: 7.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004136/1.413, allocations: 2.66 MB / 1.496 GB, free: 5.148 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001802/1.415, allocations: 485.4 kB / 1.496 GB, free: 4.672 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.417, allocations: 1.28 MB / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of SimCode: time 2.385e-06/1.417, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1767/1.594, allocations: 57.58 MB / 1.554 GB, free: 10.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.84, allocations: 3.75 kB / 1.554 GB, free: 10.54 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 21.463944893330336]