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.001391/0.001391, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001387/0.001387, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] 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.481/2.481, allocations: 476.7 MB / 0.7628 GB, free: 15.19 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_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.001765/0.001765, allocations: 64.12 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7553, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.028/0.7833, allocations: 27.92 MB / 1.299 GB, free: 5.285 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.7977, allocations: 8.349 MB / 1.307 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.8002, allocations: 115.8 kB / 1.307 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007058/0.8072, allocations: 2.869 MB / 1.31 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.8117, allocations: 1.67 MB / 1.311 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.8161, allocations: 1.73 MB / 1.313 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.8236, allocations: 6.126 MB / 1.319 GB, free: 9.102 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005989/0.8296, allocations: 3.608 MB / 1.323 GB, free: 7.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.8338, allocations: 2.619 MB / 1.325 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005165/0.839, allocations: 2.996 MB / 1.328 GB, free: 4.816 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.8405, allocations: 0.5083 MB / 1.329 GB, free: 4.816 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.8442, allocations: 1.315 MB / 1.33 GB, free: 4.504 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002816/0.847, allocations: 2.104 MB / 1.332 GB, free: 3.605 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.8502, allocations: 2.384 MB / 1.334 GB, free: 2.074 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009527/0.8597, allocations: 8.076 MB / 1.342 GB, free: 14.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8597, allocations: 5.188 kB / 1.342 GB, free: 14.42 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8597, allocations: 0 / 1.342 GB, free: 14.42 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001731/0.8599, allocations: 0 / 1.342 GB, free: 14.42 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.008948/0.8689, allocations: 4.339 MB / 1.346 GB, free: 11.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8689, allocations: 9.469 kB / 1.346 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008493/0.8698, allocations: 0.5354 MB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.8741, allocations: 0.8203 MB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.879, allocations: 2.591 MB / 1.35 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.8792, allocations: 275 kB / 1.35 GB, free: 8.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/0.8799, allocations: 377.2 kB / 1.351 GB, free: 8.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009683/0.8896, allocations: 5.995 MB / 1.357 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.8897, allocations: 10.28 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.8901, allocations: 159.3 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005614/0.8906, allocations: 280 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007324/0.898, allocations: 4.524 MB / 1.362 GB, free: 2.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/0.9261, allocations: 27.49 MB / 1.388 GB, free: 8.809 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9276, allocations: 1.07 MB / 1.389 GB, free: 8.238 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.9288, allocations: 0.9709 MB / 1.39 GB, free: 7.746 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.9288, allocations: 14.88 kB / 1.39 GB, free: 7.738 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.9289, allocations: 45.72 kB / 1.39 GB, free: 7.691 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 2.876e-06/0.9289, allocations: 3.938 kB / 1.39 GB, free: 7.688 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02079/0.9497, allocations: 9.687 MB / 1.4 GB, free: 14.4 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.9497, allocations: 72.7 kB / 1.4 GB, free: 14.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.9516, allocations: 1.498 MB / 1.401 GB, free: 12.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-05/0.9517, allocations: 49.7 kB / 1.401 GB, free: 12.77 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.9528, allocations: 1.711 MB / 1.403 GB, free: 11.04 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.9532, allocations: 495.8 kB / 1.404 GB, free: 10.55 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.9537, allocations: 335.4 kB / 1.404 GB, free: 10.21 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9538, allocations: 305.1 kB / 1.404 GB, free: 9.914 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.9551, allocations: 0.9174 MB / 1.405 GB, free: 8.996 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.9568, allocations: 1.467 MB / 1.407 GB, free: 7.289 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.9599, allocations: 2.546 MB / 1.409 GB, free: 4.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.9599, allocations: 8 kB / 1.409 GB, free: 4.492 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005449/0.9654, allocations: 3.267 MB / 1.412 GB, free: 1.188 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9654, allocations: 15.98 kB / 1.412 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.9654, allocations: 20 kB / 1.412 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.9676, allocations: 0.7498 MB / 1.413 GB, free: 384 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.969, allocations: 379.4 kB / 1.413 GB, free: 4 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.9854, allocations: 17.05 MB / 1.43 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.9871, allocations: 99.84 kB / 1.43 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.9872, allocations: 83.98 kB / 1.43 GB, free: 13.52 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.002256/0.9895, allocations: 1.307 MB / 1.431 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.9898, allocations: 210.7 kB / 1.432 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.9948, allocations: 2.765 MB / 1.434 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.9948, allocations: 15.94 kB / 1.434 GB, free: 9.172 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.9948, allocations: 8 kB / 1.434 GB, free: 9.164 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.9948, allocations: 3.984 kB / 1.434 GB, free: 9.16 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00997/1.005, allocations: 6.197 MB / 1.44 GB, free: 2.793 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.005, allocations: 8 kB / 1.44 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.006, allocations: 223.9 kB / 1.441 GB, free: 2.566 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/1.008, allocations: 0.6714 MB / 1.441 GB, free: 1.867 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/1.008, allocations: 31.98 kB / 1.441 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.023, allocations: 16.8 MB / 1.458 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.023, allocations: 4 kB / 1.458 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/1.03, allocations: 3.994 MB / 1.462 GB, free: 11.67 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/1.03, allocations: 463.7 kB / 1.462 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.031, allocations: 39.83 kB / 1.462 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/1.031, allocations: 87.89 kB / 1.462 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.032, allocations: 112.9 kB / 1.462 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/1.032, allocations: 40 kB / 1.462 GB, free: 10.92 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001296/1.033, allocations: 0.9981 MB / 1.463 GB, free: 9.93 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.463 GB, free: 9.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0021/1.035, allocations: 0.6913 MB / 1.464 GB, free: 9.238 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.006157/1.041, allocations: 4.59 MB / 1.468 GB, free: 4.527 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004974/1.046, allocations: 3.366 MB / 1.472 GB, free: 1.047 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.046, allocations: 0.875 kB / 1.472 GB, free: 1.047 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/1.049, allocations: 2.256 MB / 1.474 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.052, allocations: 0.6714 MB / 1.475 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/1.083, allocations: 21.31 MB / 1.495 GB, free: 7.836 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.085, allocations: 2.668 MB / 1.498 GB, free: 5.137 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001296/1.087, allocations: 477.4 kB / 1.499 GB, free: 4.668 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.088, allocations: 1.284 MB / 1.5 GB, free: 3.383 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/1.088, allocations: 0 / 1.5 GB, free: 3.383 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.211, allocations: 57.83 MB / 1.556 GB, free: 10.21 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.97, allocations: 9.266 kB / 1.556 GB, free: 10.21 MB / 1.248 GB " [Timeout remaining time 287] (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 --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/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: 18.441274668000005]